Skip to content

Conversation

ikreymer
Copy link
Member

  • fix cancel crawl test by ensuring state is not running or waiting
  • fix stop crawl test by ensuring stop is only initiated after at least one page has been crawled, otherwise result may be failed, as no crawl data has been crawled yet (separate fix in crawler to avoid loop if stopped before any data written stopping: if crawl is marked as stopping, and no warcs found, mark st… browsertrix-crawler#314)
  • bump page limit to 4 for tests to ensure crawl is partially complete, not fully complete when stopping

ikreymer added 14 commits May 18, 2023 18:43
- fix cancel crawl test by ensuring state is not running or waiting
- fix stop crawl test by ensuring stop is only initiated after at least one page has been crawled,
otherwise result may be failed, as no crawl data has been crawled yet (separate fix in crawler to avoid loop if stopped
before any data written webrecorder/browsertrix-crawler#314)
- bump page limit to 4 for tests to ensure crawl is partially complete, not fully complete when stopping
- if crawl stopped before it started, mark as canceled
- add test for stopping immediately, which should result in 'canceled' crawl
- attempt to increase resync interval for immediate failure
- nightly tests: increase page limit to test timeout
@ikreymer ikreymer requested a review from tw4l May 19, 2023 18:21
Copy link
Member

@tw4l tw4l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you for this! 🙌

@ikreymer ikreymer merged commit 12f7db3 into main May 23, 2023
@ikreymer ikreymer deleted the fix-stop-cancel-tests branch May 23, 2023 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants