Skip to content

Commit

Permalink
In license test, check etc listing instead of log output
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflester committed Nov 23, 2024
1 parent a3ea759 commit 63a2282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/src/cli/test_cmd_provision.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ def test_enterprise():
result = utils.execute_cli_cmd(["-v", "provision", "--module", "test"])

assert result.exit_code == 0
assert "LIC_PATH" and "./modules/resources/dummy.license" in result.output
assert "LIC_MOUNT_PATH" and "/etc/starburst/dummy.license:ro" in result.output
etc_ls = common.execute_command(f"docker exec -i trino ls /etc/starburst/")
assert "dummy.license" in etc_ls["output"]

common.log_success(cast(FrameType, currentframe()).f_code.co_name)
cleanup()
Expand Down

0 comments on commit 63a2282

Please sign in to comment.