Skip to content

Commit

Permalink
fix(backup_test): skip TestBackupSkipSchemaIntegration for older Scyl…
Browse files Browse the repository at this point in the history
…la versions
  • Loading branch information
Michal-Leszczynski committed Dec 18, 2024
1 parent 47bbcf1 commit 9743cbb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/service/backup/service_backup_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2562,6 +2562,11 @@ func TestBackupSkipSchemaIntegration(t *testing.T) {
clusterSession = CreateSessionAndDropAllKeyspaces(t, h.Client)
)

if CheckAnyConstraint(h.T, h.Client, "< 6.0", "< 2024.2, > 1000") {
t.Skip("CQL credentials are not needed for the backup with this Scylla version, " +
"so the --skip-schema flag is not needed there")
}

Print("And: simple table to back up")
WriteData(t, clusterSession, testKeyspace, 1)

Expand Down

0 comments on commit 9743cbb

Please sign in to comment.