Skip to content

Commit

Permalink
[CONTINT-258] Fix the test cache deactivation in inv new-e2e-tests.run
Browse files Browse the repository at this point in the history
  • Loading branch information
L3n41c committed Nov 24, 2023
1 parent 4640002 commit d8ffff8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/new_e2e_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,13 @@ def run(
test_run_arg = f"-run {test_run_name}"

cmd = f'gotestsum --format {gotestsum_format} '
cmd += '{junit_file_flag} --packages="{packages}" -- -ldflags="-X {REPO_PATH}/test/new-e2e/tests/containers.GitCommit={commit}" {verbose} -mod={go_mod} -vet=off -timeout {timeout} -tags {go_build_tags} {nocache} {run} {skip} {coverage_opt} {test_run_arg} -args {osversion} {platform} {arch} {cws_supported_osversion} {keep_stacks}'
cmd += '{junit_file_flag} --packages="{packages}" -- -ldflags="-X {REPO_PATH}/test/new-e2e/tests/containers.GitCommit={commit}" {verbose} -mod={go_mod} -vet=off -timeout {timeout} {tags} {nocache} {run} {skip} {coverage_opt} {test_run_arg} -args {osversion} {platform} {arch} {cws_supported_osversion} {keep_stacks}'

args = {
"go_mod": "mod",
"timeout": "4h",
"verbose": '-v' if verbose else '',
"tags": f"-build.tags {','.join(tags)}" if tags else '',
"nocache": '-count=1' if not cache else '',
"REPO_PATH": REPO_PATH,
"commit": get_git_commit(),
Expand Down

0 comments on commit d8ffff8

Please sign in to comment.