Skip to content

Commit 393e7b4

Browse files
authored
Delete Soak test and related code (#4278)
* Delete Soak test and related code * yarn * changeset
1 parent f37dde2 commit 393e7b4

File tree

153 files changed

+43
-41482
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+43
-41482
lines changed

.changeset/swift-donuts-worry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@chainlink/ea-scripts': minor
3+
---
4+
5+
Delete Soak test and related code

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
## Quality Assurance
2222

2323
- [ ] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant `infra-k8s` configuration file.
24-
- [ ] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant `adapter-secrets` configuration file or update the [soak testing blacklist](/packages/scripts/src/get-changed-adapters/soakTestBlacklist.ts).
24+
- [ ] If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant `adapter-secrets` configuration file.
2525
- [ ] If a new adapter was made, or a new endpoint was added, update the `test-payload.json` file with relevant requests.
2626
- [ ] The branch naming follows git flow (`feature/x`, `chore/x`, `release/x`, `hotfix/x`, `fix/x`) or is created from Jira.
2727
- [ ] This is related to a maximum of one Jira story or GitHub issue.

.github/workflows/checks.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,14 @@ jobs:
7373
- name: Compile tests
7474
env:
7575
CHANGED_PACKAGES: ${{ needs.install-packages.outputs.changed-packages }}
76-
FAILING_TESTS_PATTERN: '/k6/'
7776
run: |
7877
echo "Tests that should compile:"
79-
configs_to_compile=($(echo "$CHANGED_PACKAGES" | jq '.[].location + "/tsconfig.test.json"' -r | grep -v -E "$FAILING_TESTS_PATTERN" || true))
78+
configs_to_compile=($(echo "$CHANGED_PACKAGES" | jq '.[].location + "/tsconfig.test.json"' -r || true))
8079
if [ ${#configs_to_compile[@]} -eq 0 ]; then
8180
echo "No tests to compile."
8281
else
8382
yarn tsc -b --noEmit "${configs_to_compile[@]}"
8483
fi
85-
echo "Tests that should not compile:"
86-
for package in $(echo "$CHANGED_PACKAGES" | jq '.[].location + "/"' -r | grep -E "$FAILING_TESTS_PATTERN"); do
87-
if yarn tsc -b --noEmit "${package}tsconfig.test.json"; then
88-
echo "Compilation succeeded for $package. Remove it from FAILING_TESTS_PATTERN so it doesn't break again in the future."
89-
exit 1
90-
fi
91-
done
9284
9385
# Run unit tests
9486
unit-tests:
@@ -147,7 +139,7 @@ jobs:
147139
run: |
148140
# TODO: Reduce the ignored patterns to only /dist/, /test/unit/ and
149141
# /test/integration/ by making the other tests actually pass.
150-
yarn test --passWithNoTests $(echo $CHANGED_PACKAGES | jq '.[].location + "/"' -r | tr '\n' ' ') --testPathIgnorePatterns="$(echo $CHANGED_PACKAGES | jq --raw-output 'map(.location | . + "/dist/|" + . + "/test/unit/|" + . + "/test/integration") | join("|")')|/test/e2e/|/test/transports/|packages/scripts/src/docker-build/|packages/scripts/src/schema-flatten/|packages/scripts/src/flux-emulator/|packages/k6/src/"
142+
yarn test --passWithNoTests $(echo $CHANGED_PACKAGES | jq '.[].location + "/"' -r | tr '\n' ' ') --testPathIgnorePatterns="$(echo $CHANGED_PACKAGES | jq --raw-output 'map(.location | . + "/dist/|" + . + "/test/unit/|" + . + "/test/integration") | join("|")')|/test/e2e/|/test/transports/"
151143
152144
# Run linters
153145
linters:

.github/workflows/soak-test-cleanup.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/soak-test-start.yml

Lines changed: 0 additions & 244 deletions
This file was deleted.

0 commit comments

Comments
 (0)