Skip to content

Commit 901b2a9

Browse files
committed
Update test pipelines
1 parent 6970f67 commit 901b2a9

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/CosmosItemThinClientTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,10 +517,10 @@ public async Task QueryItemsTest()
517517
[TestCategory("ThinClient")]
518518
public async Task QueryItemsTestWithStrongConsistency()
519519
{
520-
string connectionString = ConfigurationManager.GetEnvironmentVariable<string>("COSMOSDB_TC_STRONG", string.Empty);
520+
string connectionString = ConfigurationManager.GetEnvironmentVariable<string>("COSMOSDB_THINCLIENTSTRONG", string.Empty);
521521
if (string.IsNullOrEmpty(connectionString))
522522
{
523-
Assert.Fail("Set environment variable COSMOSDB_TC_STRONG to run the tests");
523+
Assert.Fail("Set environment variable COSMOSDB_THINCLIENTSTRONG to run the tests");
524524
}
525525
this.client = new CosmosClient(
526526
connectionString,

azure-pipelines-msdata-direct.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@ jobs:
6565
Arguments: $(ReleaseArguments)
6666
VmImage: $(VmImage)
6767
ThinClientConnectionString: $(COSMOSDB_THINCLIENT)
68+
ThinClientStrongConsistencyString: $(COSMOSDB_THINCLIENTSTRONG)
6869
IncludePerformance: true
6970
IncludeCoverage: true

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
Arguments: $(ReleaseArguments)
8080
VmImage: $(VmImage)
8181
ThinClientConnectionString: $(COSMOSDB_THINCLIENT)
82+
ThinClientStrongConsistencyString: $(COSMOSDB_THINCLIENTSTRONG)
8283
MultiRegionConnectionString: $(COSMOSDB_MULTI_REGION)
8384
IncludePerformance: true
8485
IncludeCoverage: true

templates/build-thinclient.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ parameters:
77
OS: 'Windows'
88
EmulatorPipeline5Arguments: ' --filter "TestCategory=ThinClient" --verbosity normal '
99
EmulatorPipeline5CategoryListName: ' ThinClient '
10+
ThinClientStrongConsistencyString: ''
1011
ThinClientConnectionString: ''
1112
MultiRegionConnectionString : ''
1213
IncludeEncryption: true
@@ -50,6 +51,7 @@ jobs:
5051
testRunTitle: Microsoft.Azure.Cosmos.EmulatorTests - ${{ parameters.EmulatorPipeline5CategoryListName }}
5152
env:
5253
COSMOSDB_THINCLIENT: ${{ parameters.ThinClientConnectionString }}
54+
COSMOSDB_THINCLIENTSTRONG: ${{ parameters.ThinClientStrongConsistencyString }}
5355
COSMOSDB_MULTI_REGION: ${{ parameters.MultiRegionConnectionString }}
5456
AZURE_COSMOS_THIN_CLIENT_ENABLED: 'True'
5557
AZURE_COSMOS_NON_STREAMING_ORDER_BY_FLAG_DISABLED: 'true'

0 commit comments

Comments
 (0)