Skip to content

Commit

Permalink
check that fixture worked
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Oct 2, 2024
1 parent c0a62cf commit a40849a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/mrts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ def test_commit_api_and_functionality(self, get_status: bool):
# Test case 57: "Execute the MRT. Before issuing commit, give abort request using abort API" (P1)
@pytest.mark.parametrize("get_status", [False, True])
def test_abort_api_and_functionality(self, get_status: bool):
# Make sure test fixture worked
_, _, bins = self.as_connection.get(self.keys[0])
assert bins == {self.bin_name: 0}
_, _, bins = self.as_connection.get(self.keys[1])
assert bins == {self.bin_name: 1}

mrt = aerospike.Transaction()
policy = {
"txn": mrt
Expand Down

0 comments on commit a40849a

Please sign in to comment.