Skip to content

Commit

Permalink
testdrive: Reset cluster state after mz-arrangement-sharing.td
Browse files Browse the repository at this point in the history
Seen in https://buildkite.com/materialize/nightlies/builds/5227#018bd440-46d5-42f4-8997-3aee263e0a5f

ERROR: cannot create source in cluster with more than one replica: ERROR: cannot create source in cluster with more than one replica
  • Loading branch information
def- committed Nov 16, 2023
1 parent d8b890f commit 6756060
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/testdrive/mz-arrangement-sharing.td
Original file line number Diff line number Diff line change
Expand Up @@ -895,5 +895,7 @@ CREATE CLUSTER REPLICA default.replica SIZE = '2', INTROSPECTION DEBUGGING = tru
"Arrange Timely(Operates)"
"Arrange Timely(Parks)"

# Reset default cluster into its previous state so that other tests can expect it to be unchanged
$ postgres-execute connection=postgres://mz_system:materialize@${testdrive.materialize-internal-sql-addr}
DROP CLUSTER REPLICA default.replica
ALTER CLUSTER default SET (MANAGED = true, REPLICATION FACTOR = 1)

0 comments on commit 6756060

Please sign in to comment.