Skip to content

Commit

Permalink
test_does_not_exit_fluent_by_default_when_connected_to_running_fluent (
Browse files Browse the repository at this point in the history
…#1782)

fixing logic in test_does_not_exit_fluent_by_default_when_connected_to_running_fluent
  • Loading branch information
raph-luc authored Jul 10, 2023
1 parent 6404fbe commit 170e242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_fluent_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,13 @@ def f():
def test_does_not_exit_fluent_by_default_when_connected_to_running_fluent(
monkeypatch,
) -> None:
session1 = pyfluent.launch_fluent(cleanup_on_exit=False)
session1 = pyfluent.launch_fluent()
session2 = pyfluent.connect_to_fluent(
ip=session1.connection_properties.ip,
port=session1.connection_properties.port,
password=session1.connection_properties.password,
)
assert session2.health_check_service.is_serving
session2.exit()

timeout_loop(
Expand Down

0 comments on commit 170e242

Please sign in to comment.