Skip to content

Commit 698e1ce

Browse files
committed
http://b/277898785 fix more flaky tests
1 parent 7d9e8c2 commit 698e1ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def do_POST(s):
3939

4040

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

4444
def _test_client(self, client_func, expected_path, expected_body, is_tpu=True, success=True, iap_token=False):
4545
_request = {}

tests/test_user_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def do_POST(s):
3030
s.wfile.write(json.dumps(s.get_response()).encode("utf-8"))
3131

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

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

0 commit comments

Comments
 (0)