Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mkundu1 committed Dec 18, 2024
1 parent 5063b5e commit 0eb4430
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .ci/fluent_test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ def _run_single_test(
stderr = container.logs(stdout=False, stderr=True)
if stderr:
stderr = stderr.decode()
for line in stderr.split("\n"):
for line in stderr.splitlines():
if line.strip().startswith("Error:"):
if "Expected exception" in line: # for check_assert.py
container.stop()
else:
raise FluentRuntimeError(line)
sleep(1)
logging.debug(container.logs(stderr=True).decode())
print(container.logs(stderr=True).decode())
container.remove()
except docker.errors.DockerException:
pass
Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ def pytest_collection_finish(session):
with open(fluent_test_config, "w") as f:
f.write(f"launcher_args: {launcher_args}\n")
with open(fluent_test_file, "w") as f:
f.write('cx.get("trace-on")()\n')
f.write("import sys\n")
f.write('sys.path.append("/testing")\n')
f.write(
Expand Down
2 changes: 0 additions & 2 deletions tests/fluent/test_version/test.py

This file was deleted.

0 comments on commit 0eb4430

Please sign in to comment.