Skip to content

Commit

Permalink
chore(backup_test): adjust tests to enterprise features
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal-Leszczynski authored and karol-kokoszka committed Feb 26, 2024
1 parent d2ad45b commit 6690d9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/service/backup/service_backup_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,10 @@ func TestGetTargetIntegration(t *testing.T) {
}
golden.RemoveSystemTables()
v.RemoveSystemTables()
if diff := cmp.Diff(golden, v, cmpopts.SortSlices(func(a, b string) bool { return a < b }), cmpopts.IgnoreUnexported(backup.Target{})); diff != "" {
if diff := cmp.Diff(golden, v,
cmpopts.SortSlices(func(a, b string) bool { return a < b }),
cmpopts.IgnoreUnexported(backup.Target{}),
cmpopts.IgnoreSliceElements(func(u backup.Unit) bool { return u.Keyspace == "system_replicated_keys" })); diff != "" {
t.Fatal(diff)
}
})
Expand Down

0 comments on commit 6690d9b

Please sign in to comment.