Add multiregion guard for change feed tests (#208)
This commit is contained in:
Родитель
f721127713
Коммит
d84795839d
2
dev.md
2
dev.md
|
@ -75,7 +75,7 @@ Extra environment variables you can use:
|
|||
- `MOCHA_TIMEOUT`: time in milliseconds before timeout (default is different per test, mostly 10-20 seconds). Useful to set to 999999 during debugging.
|
||||
- `ACCOUNT_HOST`: account endpoint for testing (default is the emulator running on localhost:8081
|
||||
- `ACCOUNT_KEY`: masterkey for testing (default is the emulators default key)
|
||||
- `TESTS_MULTIREGION`: enables tests that require a multi-region write enabled database account with at least two regions.
|
||||
- `TESTS_MULTIREGION`: enables tests that require a multi-region write enabled database account with at least two regions, and disables tests that won't work with multi-region write enabled.
|
||||
|
||||
## VS Code
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ describe("Change Feed Iterator", function() {
|
|||
await removeAllDatabases();
|
||||
});
|
||||
|
||||
describe("Should only find items after start time", function() {
|
||||
(process.env.TESTS_MULTIREGION ? describe.skip : describe)("Should only find items after start time", function() {
|
||||
let container: Container;
|
||||
|
||||
// create container and two items
|
||||
|
|
Загрузка…
Ссылка в новой задаче