Skip to content

Commit 72fd56c

Browse files
addressed comments
1 parent 96147f6 commit 72fd56c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

v2/tests/admin_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ func Test_GetStartupConfiguration(t *testing.T) {
177177

178178
// GetStartupConfigurationDescription is optional - it may fail with UTF-8 encoding errors. We test it if available, but don't fail the entire test if it's unavailable due to this known issue.
179179
t.Run("GetStartupConfigurationDescription", func(t *testing.T) {
180+
skipBelowVersion(client, ctx, "4.0.0", tb)
180181
t.Skip("Skipping: GetStartupConfigurationDescription is known to have UTF-8 encoding issues and its intermittent availability makes this test unreliable.")
181182
configDesc, err := client.GetStartupConfigurationDescription(ctx)
182183
// If we successfully got the description, validate it
@@ -469,6 +470,7 @@ func Test_ReloadJWTSecrets(t *testing.T) {
469470
if handleJWTSecretsError(t, err, "ReloadJWTSecrets", []int{http.StatusForbidden, http.StatusBadRequest}) {
470471
return
471472
}
473+
require.NoError(t, err)
472474
}
473475
validateJWTSecretsResponse(t, resp, "Reloaded")
474476
})

0 commit comments

Comments
 (0)