summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-15 18:12:02 +0300
committerValery Piashchynski <[email protected]>2021-01-15 18:12:02 +0300
commit609fe5057f9f3cc2f7f5104f305f08a0496e8fef (patch)
tree37222d13701c84b00ccc1e5d57844d2756369b5a
parentd5b0a6021e4855bec595b613a0937a52cda54397 (diff)
Slightly increase timeout for the GHA
-rw-r--r--plugins/kv/boltdb/plugin_unit_test.go2
-rw-r--r--plugins/kv/memcached/plugin_unit_test.go4
-rw-r--r--plugins/kv/memory/plugin_unit_test.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/kv/boltdb/plugin_unit_test.go b/plugins/kv/boltdb/plugin_unit_test.go
index ab6b1065..fa12db8c 100644
--- a/plugins/kv/boltdb/plugin_unit_test.go
+++ b/plugins/kv/boltdb/plugin_unit_test.go
@@ -453,7 +453,7 @@ func TestStorage_MExpire_TTL(t *testing.T) {
}
assert.NoError(t, s.MExpire(i1, i2))
- time.Sleep(time.Second * 6)
+ time.Sleep(time.Second * 7)
// ensure that storage is clean
v, err = s.Has("key", "key2")
diff --git a/plugins/kv/memcached/plugin_unit_test.go b/plugins/kv/memcached/plugin_unit_test.go
index 64e843c2..31423627 100644
--- a/plugins/kv/memcached/plugin_unit_test.go
+++ b/plugins/kv/memcached/plugin_unit_test.go
@@ -245,7 +245,7 @@ func TestStorage_MExpire_TTL(t *testing.T) {
}
assert.NoError(t, s.MExpire(i1, i2))
- time.Sleep(time.Second * 6)
+ time.Sleep(time.Second * 7)
// ensure that storage is clean
v, err = s.Has("key", "key2")
@@ -341,7 +341,7 @@ func TestStorage_SetExpire_TTL(t *testing.T) {
TTL: nowPlusFive,
}))
- time.Sleep(time.Second * 6)
+ time.Sleep(time.Second * 7)
// ensure that storage is clean
v, err = s.Has("key", "key2")
diff --git a/plugins/kv/memory/plugin_unit_test.go b/plugins/kv/memory/plugin_unit_test.go
index c7dd882f..6daa0795 100644
--- a/plugins/kv/memory/plugin_unit_test.go
+++ b/plugins/kv/memory/plugin_unit_test.go
@@ -266,7 +266,7 @@ func TestStorage_MExpire_TTL(t *testing.T) {
}
assert.NoError(t, s.MExpire(i1, i2))
- time.Sleep(time.Second * 6)
+ time.Sleep(time.Second * 7)
// ensure that storage is clean
v, err = s.Has("key", "key2")