Public Access
test: background work inline, shared mock bases, lock-wait instead of sleep
This commit is contained in:
1 parent
7fe2823519
commit
3512159b41
18 files changed
+196
-156
No files matched your search
@@ -437,6 +437,10 @@ Configuration comes from environment variables:
|
||||
```
|
||||
|
||||
Runs unit, WebMvc, persistence and integration tests plus the ArchUnit rules. Needs Docker for Testcontainers.
|
||||
In integration tests background work runs on the calling thread, so a test reads the result at once.
|
||||
`AbstractMockedAdaptersTest` mocks Steam, IGDB and speedrun.com, `AbstractMockedLibraryServicesTest` the sync and
|
||||
the refreshes of the picker and stats pages; each is one shared Spring context. Race tests wait until the other
|
||||
connection waits for the row lock (`awaitLockWaiter`), not for a fixed time.
|
||||
|
||||
## Roadmap
|
||||
|
||||
|
||||
Reference in new issue
Block a user