Browse Source

test: increase expire time to avoid tz issues in tests

bergquist 7 years ago
parent
commit
78e837cf39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/services/sqlstore/dashboard_snapshot_test.go

+ 1 - 1
pkg/services/sqlstore/dashboard_snapshot_test.go

@@ -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)