Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcmicu committed Oct 4, 2024
1 parent 9b2e520 commit 266301e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/guess.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_random_sample(table, sample_size):

def get_valve_config(valve_table):
result = subprocess.run(
["./valve", "--source", valve_table, "dump-config"], capture_output=True
["./valve", "--source", valve_table, "--database", "", "dump-config"], capture_output=True
)
if result.returncode != 0:
error = result.stderr.decode()
Expand Down
5 changes: 3 additions & 2 deletions test/generate_random_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def main():

# Get the VALVE configuration:
result = subprocess.run(
["./valve", "--source", input_table, "dump-config"], capture_output=True
["./valve", "--source", input_table, "--database", "", "dump-config"], capture_output=True
)
if result.returncode != 0:
error = result.stderr.decode()
Expand All @@ -190,7 +190,8 @@ def main():

# Get the sorted list of tables to generate:
result = subprocess.run(
["./valve", "--source", input_table, "show-table-order"], capture_output=True
["./valve", "--source", input_table, "--database", "", "show-table-order"],
capture_output=True,
)
if result.returncode != 0:
error = result.stderr.decode()
Expand Down

0 comments on commit 266301e

Please sign in to comment.