fix TestJWT

This commit is contained in:
bnovil 2024-09-02 18:22:14 +08:00
parent 922eb033d3
commit e8f7f5f081

View file

@ -445,6 +445,7 @@ func TestJWT(t *testing.T) {
if resp.StatusCode != http.StatusUnauthorized {
t.Errorf("tc %d-http, token '%v': expected not to allow, got %v", i, token, resp.StatusCode)
}
time.Sleep(50 * time.Millisecond)
}
srv.stop()
}