Fixing merge errors
authorSteve Singer <ssinger@ca.afilias.info>
Fri, 3 Feb 2012 14:50:29 +0000 (09:50 -0500)
committerSteve Singer <ssinger@ca.afilias.info>
Fri, 3 Feb 2012 14:50:29 +0000 (09:50 -0500)
clustertest/disorder/tests/Failover.js

index f69b818a9b873351b6af008c56d75183eca62af9..30440fa98b5e1b1cc537afbe2174cf5fa9b6b9aa 100644 (file)
@@ -257,46 +257,20 @@ Failover.prototype.runTest = function() {
        this.compareDb('db3','db2');
        this.compareDb('db4','db2');
        this.moveSet(1,4,1);
-
+       //make nodes 2,3 receive from 1 directly
+       this.addCompletePaths();
+       this.subscribeSet(1,1,1,[2,3]);
                //
                // create a SECOND replication set
                // on the same origin as the first set.
                // Fail this over and make sure we can
                // failover both sets.
        this.createSecondSet(1);
-       this.addCompletePaths();
        this.subscribeSet(2,1, 1, [ 2, 3 ]);
        this.slonikSync(1,1);
-       this.failNode(1,2,true);
-               //The problem we have is that if failedoverSet_int()
-               //does not set no_active=false then autowait for
-               //will fail later unless we do a DRop NODE.
-               this.dropNode(1,4);
+       this.failNode(1,2,true);        
     this.slonikSync(1,2);
 
-       for ( var idx = 1; idx <= this.getNodeCount(); idx++) {
-               this.slonArray[idx - 1].stop();
-               this.coordinator.join(this.slonArray[idx - 1]);
-       }
-=======
-       //make nodes 2,3 receive from 1 directly.
-       this.addCompletePaths();
-       this.subscribeSet(1,1,1,[2,3]);
-
-       //
-       // create a SECOND replication set
-       // on the same origin as the first set.
-       // Fail this over and make sure we can
-       // failover both sets.
-       this.createSecondSet(1);
-
-       this.subscribeSet(2,1, 1, [ 2, 3 ]);
-       this.slonikSync(1,1);
-       this.failNode(1,2,true);
-    this.slonikSync(1,2);
-
->>>>>>> origin/multi_node_limited
-
        this.compareDb('db1','db2');
        this.compareDb('db1', 'db3');
        this.compareDb('db1', 'db4');