Skip to content

Enable retry for test for javascript #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions tests/stub/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ def tearDown(self):
self._server.reset()

def test_read(self):
if self._driver in ["javascript"]:
self.skipTest("Transactional functions not implemented in testkit backend")

script = "retry_read.script"
if self._driver in ["go"]:
Expand Down Expand Up @@ -49,15 +47,13 @@ def retry_once(tx):
self._server.done()

def test_read_twice(self):
if self._driver in ["javascript"]:
self.skipTest("Transactional functions not implemented in testkit backend")

script = "retry_read_twice.script"
if self._driver in ["go"]:
# Until Go is updated to use PULL with n
# Lean version has fewer resets
script = "retry_read_twice_lean_v3.script"
if self._driver in ["java"]:
if self._driver in ["java", "javascript"]:
# Java requires an extra reset
script = "retry_read_twice_java.script"

Expand Down