Remove test session cache to reduce possible concurrent problem (#22199)
This commit is contained in:
@ -21,7 +21,4 @@ func TestSignOut(t *testing.T) {
|
||||
// try to view a private repo, should fail
|
||||
req = NewRequest(t, "GET", "/user2/repo2")
|
||||
session.MakeRequest(t, req, http.StatusNotFound)
|
||||
|
||||
// invalidate cached cookies for user2, for subsequent tests
|
||||
delete(loginSessionCache, "user2")
|
||||
}
|
||||
|
Reference in New Issue
Block a user