Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests define custom cluster replica sizes #30459

Merged
merged 8 commits into from
Nov 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix github-3955.td
Signed-off-by: Moritz Hoffmann <mh@materialize.com>
  • Loading branch information
antiguru authored and def- committed Nov 18, 2024
commit 68d736441de28ef29ab01eadcb434d371f5e38e7
9 changes: 5 additions & 4 deletions test/testdrive/github-3955.td
Original file line number Diff line number Diff line change
@@ -7,13 +7,12 @@
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0.

$ set-arg-default default-replica-size=1

# Regression test for https://github.com/MaterializeInc/database-issues/issues/3955

# The contents of the introspection tables depend on the replica size
$ skip-if
SELECT '${arg.default-replica-size}' != '4-4'
> CREATE CLUSTER test (SIZE '4-4');

> SET cluster = test;

# In case the environment has other replicas
> SET cluster_replica = r1
@@ -36,3 +35,5 @@ SELECT '${arg.default-replica-size}' != '4-4'
compute_exports.export_id = frontiers.export_id AND
time > 0
16

> DROP CLUSTER test CASCADE;