File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/test/local-server-stress-tests/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1143,9 +1143,11 @@ export function createLocalServerStressSuite<TOperation extends BaseOperation>(
1143
1143
...providedOptions ,
1144
1144
} ;
1145
1145
1146
- const only = new Set ( options . only ) ;
1147
- const skip = new Set ( options . skip ) ;
1148
1146
const replay = options . replay ;
1147
+ // replay supersedes only and skip, and only supersedes skip
1148
+ // this allows all to be specified even if the seeds overlap
1149
+ const only = new Set ( replay === undefined ? options . only : undefined ) ;
1150
+ const skip = new Set ( replay === undefined && only . size === 0 ? options . skip : undefined ) ;
1149
1151
Object . assign ( options , { only, skip } ) ;
1150
1152
assert ( isInternalOptions ( options ) ) ;
1151
1153
You can’t perform that action at this time.
0 commit comments