Add multiregion guard for change feed tests (#208)

This commit is contained in:
Christopher Anderson 2018-12-13 13:19:13 -08:00 коммит произвёл GitHub
Родитель f721127713
Коммит d84795839d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 2 удалений

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