Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Argelbargel committed Sep 22, 2023
1 parent 9b34e8d commit 7e83f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/agent/storage/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func TestUploadSnapshotUploadsToStorage(t *testing.T) {
expectedDeadline, _ := storage.uploadContext.Deadline()
expectedName := strings.Join([]string{config.NamePrefix, timestamp.Format(config.TimestampFormat), config.NameSuffix}, "")

assert.Equal(t, start.Add(config.Timeout), expectedDeadline)
assert.GreaterOrEqual(t, expectedDeadline, start.Add(config.Timeout))
assert.Equal(t, expectedName, storage.uploadName)
assert.Equal(t, data, storage.uploadData)
}
Expand Down

0 comments on commit 7e83f85

Please sign in to comment.