Skip to content

Commit

Permalink
Add integration tests for mysqlfuncts
Browse files Browse the repository at this point in the history
  • Loading branch information
bonicim committed Jun 26, 2020
1 parent c92aed3 commit d7eb47c
Show file tree
Hide file tree
Showing 3 changed files with 614 additions and 7 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ markers =
rmq_reconnect: rabbitmq reconnect tests
rmq_shutdown: rabbitmq shutdown tests
secure: Test platform and agents with secure platform options
mysqlfuncts: level one integration tests for mysqlfuncts
14 changes: 7 additions & 7 deletions volttrontesting/fixtures/docker_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ def create_container(image_name: str, ports: dict = None, env: dict = None, comm
break
time.sleep(0.1)
container.reload()

if invalid:
yield None
else:
yield container

container.kill()
try:
if invalid:
yield None
else:
yield container
finally:
container.kill()

Loading

0 comments on commit d7eb47c

Please sign in to comment.