Skip to content

Commit b00d62f

Browse files
committed
test(spanner): rollback open transaction in ReadTest
1 parent 8121741 commit b00d62f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Spanner/tests/System/ReadTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,8 @@ public function testLockHintReadWriteTransaction()
242242
$rows = iterator_to_array($res->rows());
243243
$this->assertNotEmpty($rows);
244244
$this->assertEquals($limit, count($rows));
245+
246+
$res->transaction()->rollback();
245247
}
246248

247249
public function testLockHintOnReadOnlyThrowsAnError()

0 commit comments

Comments
 (0)