You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* longrunning cfp avad test for ttl
* add more to comment
* internal set
* other tests fail with higher ms
* run updatecontracts
* Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs
Co-authored-by: Matias Quaranta <[email protected]>
* Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs
Co-authored-by: Matias Quaranta <[email protected]>
* Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs
Co-authored-by: Matias Quaranta <[email protected]>
* Update Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs
Co-authored-by: Matias Quaranta <[email protected]>
* using Logger.LogLine
* change back over to ManualResetEvent. fixed assert to look at Previous. keeping stopwatch just for logging. timeout at 5 minutes.
* Update GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs
Co-authored-by: Matias Quaranta <[email protected]>
* try/finally
* removing ctor. making all set internal to address serialization issue. later PRs to test STJ de/serialization.
* fixing de/serialziation issue
* Update GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs
change timeout
* Update ReEncryption.csproj
1.11.4
* internal set change to CanWrite:True;
---------
Co-authored-by: Matias Quaranta <[email protected]>
/// Used to distinquish explicit deletes (e.g. via DeleteItem) from deletes caused by TTL expiration (a collection may define time-to-live policy for documents).
Copy file name to clipboardExpand all lines: Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/ChangeFeed/GetChangeFeedProcessorBuilderWithAllVersionsAndDeletesTests.cs
// NOTE(philipthomas-MSFT): Please allow these Logger.LogLine because TTL on items will purge at random times so I am using this to test when ran locally using emulator.
53
+
54
+
Logger.LogLine($"@ {DateTime.Now}, {nameof(stopwatch)} -> CFP AVAD took '{stopwatch.ElapsedMilliseconds}' to read document CRUD in feed.");
// stop after reading delete since it is the last document in feed.
92
+
stopwatch.Stop();
93
+
allDocsProcessed.Set();
94
+
}
95
+
else
96
+
{
97
+
Assert.Fail("Invalid operation.");
98
+
}
99
+
}
100
+
101
+
returnTask.CompletedTask;
102
+
})
103
+
.WithInstanceName(Guid.NewGuid().ToString())
104
+
.WithLeaseContainer(this.LeaseContainer)
105
+
.WithErrorNotification((leaseToken,error)=>
106
+
{
107
+
exception=error.InnerException;
108
+
109
+
returnTask.CompletedTask;
110
+
})
111
+
.Build();
112
+
113
+
stopwatch.Start();
114
+
115
+
// NOTE(philipthomas-MSFT): Please allow these Logger.LogLine because TTL on items will purge at random times so I am using this to test when ran locally using emulator.
awaitmonitoredContainer.CreateItemAsync<dynamic>(new{id="1",pk="1",description="Testing TTL on CFP.",ttl=ttlInSeconds},partitionKey:newPartitionKey("1"));
125
+
126
+
// NOTE(philipthomas-MSFT): Please allow these Logger.LogLine because TTL on items will purge at random times so I am using this to test when ran locally using emulator.
0 commit comments