Skip to content

Commit

Permalink
add cleanup to env integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spal1 committed Oct 22, 2024
1 parent db748cf commit ba0e5fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions truss/tests/test_model_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,13 @@ def predict(self, model_input):
in container.logs()
)
assert "in beta environment" in container.logs()
container.execute(
[
"bash",
"-c",
"rm -f /etc/b10_dynamic_config/environment",
]
)

# Test a truss that uses the environment in load()
model = """
Expand Down

0 comments on commit ba0e5fd

Please sign in to comment.