MilisPerSecDuration
This commit is contained in:
parent
23b020ec9b
commit
4eeace28f9
4 changed files with 5 additions and 5 deletions
|
@ -181,7 +181,7 @@ func (ts *TestServer) sessionGC(w http.ResponseWriter, r *http.Request) {
|
|||
io.WriteString(w, err.Error())
|
||||
return
|
||||
}
|
||||
time.Sleep(200 * time.Millisecond)
|
||||
time.Sleep(200 * time.Millisecond * time.Duration(session.MilisPerSecDuration()))
|
||||
if sm.Exists(ses.SessionID()) {
|
||||
io.WriteString(w, fmt.Sprintf("Session id: %s must not exists in storage after GC",
|
||||
ses.SessionID()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue