Commit 649332d
Skip online metadata fetch in BackgroundDataStoreProcessor during tests
This prevents flaky network requests and timeouts in unit tests that involve the BackgroundDataStoreProcessor (e.g. BackgroundDataStoreProcessorTests). The `backpopulateUserTags` and `backpopulateMissingSubmissionAndRankDates` tasks were attempting to download the full `online.db` database or perform lookups that rely on it, causing significant delays and potential failures in CI environments.
Skipping these operations when `DebugUtils.IsNUnitRunning` is true ensures tests run reliably and quickly without external dependencies.
Co-authored-by: winnerspiros <1675249+winnerspiros@users.noreply.github.com>1 parent e0602db commit 649332d
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| 540 | + | |
| 541 | + | |
540 | 542 | | |
541 | 543 | | |
542 | 544 | | |
| |||
0 commit comments