Skip to content

Commit

Permalink
http://b/277898785 fix more flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
djherbis committed Apr 13, 2023
1 parent 7d9e8c2 commit 698e1ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def do_POST(s):


class TestDatasets(unittest.TestCase):
SERVER_ADDRESS = urlparse(os.getenv(_KAGGLE_URL_BASE_ENV_VAR_NAME, default="http://127.0.0.1:8001"))
SERVER_ADDRESS = urlparse(os.getenv(_KAGGLE_URL_BASE_ENV_VAR_NAME, default="http://127.0.0.1:0"))

def _test_client(self, client_func, expected_path, expected_body, is_tpu=True, success=True, iap_token=False):
_request = {}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_user_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def do_POST(s):
s.wfile.write(json.dumps(s.get_response()).encode("utf-8"))

class TestUserSessionClient(unittest.TestCase):
SERVER_ADDRESS = urlparse(os.getenv(_KAGGLE_URL_BASE_ENV_VAR_NAME, default="http://127.0.0.1:8001"))
SERVER_ADDRESS = urlparse(os.getenv(_KAGGLE_URL_BASE_ENV_VAR_NAME, default="http://127.0.0.1:0"))
TEST_JWT = 'test-secrets-key'

def _test_client(self, client_func, expected_path, expected_body, source=None, success=True):
Expand Down

0 comments on commit 698e1ce

Please sign in to comment.