|
@@ -398,7 +398,7 @@ TransactionStage get = ^(FIRTransaction *transaction, FIRDocumentReference *doc)
|
|
|
[self writeDocumentRef:doc data:@{@"count" : @(5.0)}];
|
|
[self writeDocumentRef:doc data:@{@"count" : @(5.0)}];
|
|
|
|
|
|
|
|
// Skip backoff delays.
|
|
// Skip backoff delays.
|
|
|
- [firestore workerQueue] -> SkipDelaysForTimerId(TimerId::RetryTransaction);
|
|
|
|
|
|
|
+ [firestore workerQueue]->SkipDelaysForTimerId(TimerId::RetryTransaction);
|
|
|
|
|
|
|
|
// Make 3 transactions that will all increment.
|
|
// Make 3 transactions that will all increment.
|
|
|
int total = 3;
|
|
int total = 3;
|
|
@@ -443,7 +443,7 @@ TransactionStage get = ^(FIRTransaction *transaction, FIRDocumentReference *doc)
|
|
|
[self writeDocumentRef:doc data:@{@"count" : @(5.0), @"other" : @"yes"}];
|
|
[self writeDocumentRef:doc data:@{@"count" : @(5.0), @"other" : @"yes"}];
|
|
|
|
|
|
|
|
// Skip backoff delays.
|
|
// Skip backoff delays.
|
|
|
- [firestore workerQueue] -> SkipDelaysForTimerId(TimerId::RetryTransaction);
|
|
|
|
|
|
|
+ [firestore workerQueue]->SkipDelaysForTimerId(TimerId::RetryTransaction);
|
|
|
|
|
|
|
|
// Make 3 transactions that will all increment.
|
|
// Make 3 transactions that will all increment.
|
|
|
int total = 3;
|
|
int total = 3;
|
|
@@ -492,7 +492,7 @@ TransactionStage get = ^(FIRTransaction *transaction, FIRDocumentReference *doc)
|
|
|
[self writeDocumentRef:doc1 data:@{@"count" : @(15.0)}];
|
|
[self writeDocumentRef:doc1 data:@{@"count" : @(15.0)}];
|
|
|
|
|
|
|
|
// Skip backoff delays.
|
|
// Skip backoff delays.
|
|
|
- [firestore workerQueue] -> SkipDelaysForTimerId(TimerId::RetryTransaction);
|
|
|
|
|
|
|
+ [firestore workerQueue]->SkipDelaysForTimerId(TimerId::RetryTransaction);
|
|
|
|
|
|
|
|
XCTestExpectation *expectation = [self expectationWithDescription:@"transaction"];
|
|
XCTestExpectation *expectation = [self expectationWithDescription:@"transaction"];
|
|
|
[firestore
|
|
[firestore
|
|
@@ -537,7 +537,7 @@ TransactionStage get = ^(FIRTransaction *transaction, FIRDocumentReference *doc)
|
|
|
[self writeDocumentRef:doc data:@{@"count" : @(15.0)}];
|
|
[self writeDocumentRef:doc data:@{@"count" : @(15.0)}];
|
|
|
|
|
|
|
|
// Skip backoff delays.
|
|
// Skip backoff delays.
|
|
|
- [firestore workerQueue] -> SkipDelaysForTimerId(TimerId::RetryTransaction);
|
|
|
|
|
|
|
+ [firestore workerQueue]->SkipDelaysForTimerId(TimerId::RetryTransaction);
|
|
|
|
|
|
|
|
XCTestExpectation *expectation = [self expectationWithDescription:@"transaction"];
|
|
XCTestExpectation *expectation = [self expectationWithDescription:@"transaction"];
|
|
|
[firestore
|
|
[firestore
|