Skip to content

Commit

Permalink
Pass server config via a file.
Browse files Browse the repository at this point in the history
This change unblocks importer, where webdriver tests are failing due to changes in web-platform-tests/wpt#28834

Change-Id: Ia07ed877aa808da41a49260900a390c87e9c5521
No-Export: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2890259
Reviewed-by: Jason Chase <[email protected]>
Reviewed-by: John Chen <[email protected]>
Commit-Queue: Kyle Ju <[email protected]>
Cr-Commit-Position: refs/heads/master@{#882198}
NOKEYCHECK=True
GitOrigin-RevId: 1f1ca91d06821cb5dd2fe057d4efa4fc572ee158
  • Loading branch information
kyle Ju authored and copybara-github committed May 12, 2021
1 parent 44d623c commit 8206cdc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def http(configuration):

@pytest.fixture
def server_config():
return json.loads(os.environ.get("WD_SERVER_CONFIG"))

with open(os.environ.get("WD_SERVER_CONFIG_FILE"), "r") as f:
return json.load(f)

@pytest.fixture(scope="session")
def configuration():
Expand Down

0 comments on commit 8206cdc

Please sign in to comment.