Skip to content

Commit ba2b4c6

Browse files
ikreymertw4l
andauthored
Dedupe Integration Tests (#3211)
Tests for dedupe, including importing, purge and index deletion. Running as nightly tests for now, due to time required to run the tests --------- Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
1 parent 00d89c1 commit ba2b4c6

File tree

5 files changed

+482
-2
lines changed

5 files changed

+482
-2
lines changed

.github/workflows/k3d-nightly-ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,7 @@ jobs:
138138
- name: Print Emails Logs
139139
if: ${{ always() }}
140140
run: kubectl logs svc/browsertrix-cloud-emails -c api
141+
142+
- name: Print K8S Events
143+
if: ${{ always() }}
144+
run: kubectl events --all-namespaces

backend/test/test_crawlconfigs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def test_get_crawler_channels(crawler_auth_headers, default_org_id):
713713
assert r.status_code == 200
714714
crawler_channels = r.json()["channels"]
715715
assert crawler_channels
716-
assert len(crawler_channels) == 2
716+
assert len(crawler_channels) == 3
717717
for crawler_channel in crawler_channels:
718718
assert crawler_channel["id"]
719719
assert crawler_channel["image"]
@@ -1081,7 +1081,6 @@ def test_shareable_workflow(admin_auth_headers, default_org_id, admin_crawl_id):
10811081

10821082

10831083
def test_update_profile(crawler_auth_headers, default_org_id, profile_id, profile_2_id):
1084-
10851084
def get_profile():
10861085
r = requests.get(
10871086
f"{API_PREFIX}/orgs/{default_org_id}/crawlconfigs/{cid}/",

0 commit comments

Comments
 (0)