Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
idoqo committed Nov 18, 2024
1 parent 57c5ad7 commit c4284bc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions managed/services/server/updater_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,10 @@ func TestUpdater(t *testing.T) {
})

t.Run("TestLatest", func(t *testing.T) {
t.Parallel()
version.Version = "2.41.0"
u := NewUpdater(watchtowerURL, gRPCMessageMaxSize)

t.Run("LatestFromProduction", func(t *testing.T) {
t.Parallel()
_, latest, err := u.latest(context.Background())
require.NoError(t, err)
if latest != nil {
Expand All @@ -283,7 +281,6 @@ func TestUpdater(t *testing.T) {
}
})
t.Run("LatestFromStaging", func(t *testing.T) {
t.Parallel()
versionServiceURL, err := envvars.GetPlatformAddress() // defaults to production
require.NoError(t, err)
defer func() {
Expand Down

0 comments on commit c4284bc

Please sign in to comment.