Commit 28b1fae
Fix E2E tests: skip on single-region emulator
Read and write barrier requests are only triggered on multi-region strong
consistency accounts (numberOfReadRegions > 0). The emulator is single-region,
so the GCLSN interceptor never triggers barriers and the tests fail with
empty supplementalResponseStatisticsList.
Added accountLevelReadRegions.size() > 1 skip check to all three E2E fault
injection tests so they correctly skip on single-region environments.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 685074e commit 28b1fae
1 file changed
Lines changed: 14 additions & 0 deletions
File tree
- sdk/cosmos/azure-cosmos-tests/src/test/java/com/azure/cosmos/faultinjection
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1821 | 1821 | | |
1822 | 1822 | | |
1823 | 1823 | | |
| 1824 | + | |
| 1825 | + | |
1824 | 1826 | | |
1825 | 1827 | | |
1826 | 1828 | | |
1827 | 1829 | | |
1828 | 1830 | | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
1829 | 1835 | | |
1830 | 1836 | | |
1831 | 1837 | | |
| |||
1900 | 1906 | | |
1901 | 1907 | | |
1902 | 1908 | | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| 1912 | + | |
1903 | 1913 | | |
1904 | 1914 | | |
1905 | 1915 | | |
| |||
1973 | 1983 | | |
1974 | 1984 | | |
1975 | 1985 | | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
1976 | 1990 | | |
1977 | 1991 | | |
1978 | 1992 | | |
| |||
0 commit comments