Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/cosmos/azure_data_cosmos/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
fn main() {
// Allow `#[cfg_attr(not(test_category = "..."), ignore)]` in `tests/*.rs`.
println!(
"cargo:rustc-check-cfg=cfg(test_category, values(\"emulator\", \"emulator_vnext\", \"multi_write\", \"split\", \"binary_encoding\", \"gateway_v2\", \"gateway_v2_multi_region\"))"
"cargo:rustc-check-cfg=cfg(test_category, values(\"emulator\", \"emulator_vnext\", \"multi_write\", \"split\", \"binary_encoding\", \"gateway_v2\", \"gateway_v2_multi_region\", \"all_versions_and_deletes\"))"
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,8 @@ where
/// supported by the vnext (Linux) emulator.
#[tokio::test]
#[cfg_attr(
not(test_category = "emulator"),
ignore = "requires test_category 'emulator' (the vnext emulator does not support full-fidelity change feed)"
not(test_category = "all_versions_and_deletes"),
ignore = "requires test_category 'all_versions_and_deletes' (requires live account with continuous backup enabled)"
)]
pub async fn all_versions_and_deletes_surfaces_create_replace_delete() -> Result<(), Box<dyn Error>>
{
Expand Down Expand Up @@ -857,8 +857,8 @@ pub async fn all_versions_and_deletes_surfaces_create_replace_delete() -> Result
/// supported by the vnext (Linux) emulator.
#[tokio::test]
#[cfg_attr(
not(test_category = "emulator"),
ignore = "requires test_category 'emulator' (the vnext emulator does not support full-fidelity change feed)"
not(test_category = "all_versions_and_deletes"),
ignore = "requires test_category 'all_versions_and_deletes' (requires live account with continuous backup enabled)"
)]
pub async fn all_versions_and_deletes_fans_out_creates_across_partitions(
) -> Result<(), Box<dyn Error>> {
Expand Down Expand Up @@ -958,8 +958,8 @@ pub async fn all_versions_and_deletes_fans_out_creates_across_partitions(
/// supported by the vnext (Linux) emulator.
#[tokio::test]
#[cfg_attr(
not(test_category = "emulator"),
ignore = "requires test_category 'emulator' (the vnext emulator does not support full-fidelity change feed)"
not(test_category = "all_versions_and_deletes"),
ignore = "requires test_category 'all_versions_and_deletes' (requires live account with continuous backup enabled)"
)]
pub async fn all_versions_and_deletes_rejects_point_in_time_start() -> Result<(), Box<dyn Error>> {
TestClient::run_with_unique_db(
Expand Down
3 changes: 3 additions & 0 deletions sdk/cosmos/live-platform-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
},
"Session MultiRegion GatewayV2": {
"ArmTemplateParameters": "@{ defaultConsistencyLevel = 'Session'; enableMultipleRegions = $true; testCategory = 'gateway_v2_multi_region' }"
},
"Session SingleRegion ChangeFeed AllVersionsAndDeletes": {
"ArmTemplateParameters": "@{ defaultConsistencyLevel = 'Session'; enableContinuousBackup = $true; testCategory = 'all_versions_and_deletes' }"
Comment thread
NaluTripician marked this conversation as resolved.
}
}
}
Expand Down
Loading