Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 8bae30b

Browse files
committed
❓ python 2 builds might be failing because of percy parallelization
Getting the error: ``` {"errors":[{"status":"conflict","detail":"Can only finalize pending builds"}]} E ====================================================================== ERROR: tearDownClass (tests.test_race_conditions.Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/IntegrationTests.py", line 42, in tearDownClass cls.percy_runner.finalize_build() File "/home/circleci/repo/venv/lib/python2.7/site-packages/percy/runner.py", line 98, in finalize_build self.client.finalize_build(self._current_build['data']['id']) File "/home/circleci/repo/venv/lib/python2.7/site-packages/percy/client.py", line 83, in finalize_build return self._connection.post(path=path, data={}) File "/home/circleci/repo/venv/lib/python2.7/site-packages/percy/connection.p y", line 64, in post raise e HTTPError: 409 Client Error: Conflict for url: https://percy.io/api/v1/builds/1665589/finalize ``` Our code might not be work with Percy’s parallelization features (https://docs.percy.io/docs/parallel-test-suites). So, try combining into a single `test_render` file
1 parent c37e351 commit 8bae30b

File tree

3 files changed

+221
-237
lines changed

3 files changed

+221
-237
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"format": "prettier --config .prettierrc --write src/**/*.js src/**/*.react.js",
1616
"format:test": "prettier --config .prettierrc src/**/*.js src/**/*.react.js --list-different",
1717
"test": "npm run lint",
18-
"test:py": "python -m unittest -v tests.test_clientside tests.test_render tests.test_race_conditions"
18+
"test:py": "python -m unittest -v tests.test_render tests.test_race_conditions"
1919
},
2020
"author": "chriddyp",
2121
"license": "MIT",

tests/test_clientside.py

-233
This file was deleted.

0 commit comments

Comments
 (0)