File tree Expand file tree Collapse file tree
packages/service-core-tests/src/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1676,16 +1676,13 @@ bucket_definitions:
16761676 } ) ;
16771677
16781678 let result2 = await iter . next ( ) ;
1679- if ( result2 . value ?. base ?. lsn == '5/0' ) {
1680- // Events could arrive in a different order in some cases - this caters for it
1681- result2 = await iter . next ( ) ;
1682- }
16831679 expect ( result2 ) . toMatchObject ( {
16841680 done : false ,
16851681 value : {
16861682 base : {
1687- checkpoint : 0n ,
1688- lsn : '6/0'
1683+ checkpoint : 0n
1684+ // can be 5/0 or 6/0 - actual value not relevant for custom write checkpoints
1685+ // lsn: '6/0'
16891686 } ,
16901687 writeCheckpoint : 6n
16911688 }
@@ -1702,16 +1699,13 @@ bucket_definitions:
17021699 } ) ;
17031700
17041701 let result3 = await iter . next ( ) ;
1705- if ( result3 . value ?. base ?. lsn == '6/0' ) {
1706- // Events could arrive in a different order in some cases - this caters for it
1707- result3 = await iter . next ( ) ;
1708- }
17091702 expect ( result3 ) . toMatchObject ( {
17101703 done : false ,
17111704 value : {
17121705 base : {
1713- checkpoint : 0n ,
1714- lsn : '7/0'
1706+ checkpoint : 0n
1707+ // can be 5/0, 6/0 or 7/0 - actual value not relevant for custom write checkpoints
1708+ // lsn: '7/0'
17151709 } ,
17161710 writeCheckpoint : 7n
17171711 }
You can’t perform that action at this time.
0 commit comments