Open
Description
Problem to Solve
It looks like we don't have behavior steps that check if the connection is closed after we send the close
command, for example, after connection closes
from user.feature
. We only have a positive step connection has been opened
, which is more of a reactive check after we just open the connection.
Even if it's limited for TypeDB itself (I assume that it is not implemented for a reason), it's a crucial logic for TypeDB Drivers. The absence of these tests already resulted in a bug in the Python Driver.
Proposed Solution
Add a test like:
When connection opens with default authentication
Then connection is open
When connection closes
Then connection is closed / is not open
We might also deprecate connection has been opened
Metadata
Metadata
Assignees
Labels
No labels