We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7cf76 commit 727abafCopy full SHA for 727abaf
internal/pkg/agent/application/gateway/fleet/fleet_gateway_test.go
@@ -1140,7 +1140,7 @@ func TestAvailableRollbacks(t *testing.T) {
1140
name: "valid available rollbacks - assert key and value",
1141
setup: func(t *testing.T, rbSource *mockRollbacksSource, client *testingClient) {
1142
1143
- validUntil := time.Now().Add(time.Minute)
+ validUntil := time.Now().UTC().Add(time.Minute)
1144
// truncate to the second to avoid different precision due to marshal/unmarshal
1145
validUntil = validUntil.Truncate(time.Second)
1146
0 commit comments