File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
firebase-firestore/src/test/java/com/google/firebase/firestore/spec Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -227,10 +227,6 @@ private void specSetUp(JSONObject config) {
227
227
throw Assert .fail ("The Android client does not support multi-client tests" );
228
228
}
229
229
230
- if (config .optInt ("activeClientIndex" , 1 ) != 1 ) {
231
- throw Assert .fail ("The Android client does not support switching clients" );
232
- }
233
-
234
230
initClient ();
235
231
236
232
// Set up internal event tracking for the spec tests.
@@ -741,6 +737,10 @@ private void doRestart() throws Exception {
741
737
}
742
738
743
739
private void doStep (JSONObject step ) throws Exception {
740
+ if (step .optInt ("clientIndex" , 0 ) != 0 ) {
741
+ throw Assert .fail ("The Android client does not support switching clients" );
742
+ }
743
+
744
744
if (step .has ("userListen" )) {
745
745
doListen (step .getJSONArray ("userListen" ));
746
746
} else if (step .has ("userUnlisten" )) {
You can’t perform that action at this time.
0 commit comments