mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
test: increase expire time to avoid tz issues in tests
This commit is contained in:
@@ -115,7 +115,7 @@ func TestDeleteExpiredSnapshots(t *testing.T) {
|
|||||||
Convey("Testing dashboard snapshots clean up", t, func() {
|
Convey("Testing dashboard snapshots clean up", t, func() {
|
||||||
setting.SnapShotRemoveExpired = true
|
setting.SnapShotRemoveExpired = true
|
||||||
|
|
||||||
notExpiredsnapshot := createTestSnapshot(x, "key1", 1200)
|
notExpiredsnapshot := createTestSnapshot(x, "key1", 48000)
|
||||||
createTestSnapshot(x, "key2", -1200)
|
createTestSnapshot(x, "key2", -1200)
|
||||||
createTestSnapshot(x, "key3", -1200)
|
createTestSnapshot(x, "key3", -1200)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user