From 944ad60eb32b08bbb7fb96ccaa0e2fbc771d9184 Mon Sep 17 00:00:00 2001 From: Ashwin Ramaswami Date: Thu, 11 May 2023 12:19:19 -0400 Subject: [PATCH] Change google to msftconnecttest for network request (#4457) * Test - change google to wikipedia for network request Related to https://github.com/codalab/codalab-worksheets/issues/4433 -- let's see if this fixes flakiness. * Update test_cli.py --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- tests/cli/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli/test_cli.py b/tests/cli/test_cli.py index ac99bdbf4..4c9f6cd96 100644 --- a/tests/cli/test_cli.py +++ b/tests/cli/test_cli.py @@ -2573,7 +2573,7 @@ def stress( ) # Test network access - REQUEST_CMD = """python -c "import urllib.request; urllib.request.urlopen('https://www.google.com').read()" """ + REQUEST_CMD = """python -c "import urllib.request; urllib.request.urlopen('http://www.msftconnecttest.com/connecttest.txt').read()" """ # Network access is set to true by default wait(_run_command([cl, 'run', REQUEST_CMD], request_memory="10m"), 0) # --request-network should behave the same as above