Fix test SQL
authorSteve Singer <[email protected]>
Sun, 9 Oct 2022 19:51:25 +0000 (15:51 -0400)
committerSteve Singer <[email protected]>
Sat, 29 Oct 2022 17:13:43 +0000 (13:13 -0400)
clustertest/disorder/tests/DropPath.js

index b52b4d3ae0785984bb805cf4847914fa2a18f2f0..147b007eddd6fbf499b24681b51b0517ca232659 100644 (file)
@@ -101,7 +101,7 @@ DropPath.prototype.verifyPath=function(server,client,expectPath) {
        var rs=undefined;
        try {
                rs = stat.executeQuery("SELECT COUNT(*) FROM _" + this.getClusterName()
-                               + '.sl_path where pa_client=' + client + 'AND pa_server=' + server);
+                               + '.sl_path where pa_client=' + client + ' AND pa_server=' + server);
                rs.next();
                var count = rs.getInt(1);
                this.testResults.assertCheck('no path exists between ' + client + ' and ' + server
@@ -114,4 +114,4 @@ DropPath.prototype.verifyPath=function(server,client,expectPath) {
                stat.close();
                connection.close();
        }
-}
\ No newline at end of file
+}