mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 20:59:53 +05:00
Increase TestCacheExpiry wait time
This commit is contained in:
@@ -29,7 +29,7 @@ func TestCacheExpire(t *testing.T) {
|
||||
if !ok || b == nil || b != a {
|
||||
t.Error("Error retriving data from cache", b)
|
||||
}
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
time.Sleep(20 * time.Millisecond)
|
||||
b, ok = cache.Get("mama")
|
||||
if ok || b != nil {
|
||||
t.Error("Error expiring data from cache", b)
|
||||
|
||||
Reference in New Issue
Block a user