Skip to content

Commit c95c9bb

Browse files
committed
[MySQL] Use the default number of queries
1 parent 941a5c8 commit c95c9bb

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

test/sqlancer/dbms/TestMySQL.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ public class TestMySQL {
1313
boolean mysqlIsAvailable = mysqlAvailable != null && mysqlAvailable.equalsIgnoreCase("true");
1414

1515
@Test
16-
public void testMySQL() {
16+
public void testPQS() {
1717
assumeTrue(mysqlIsAvailable);
1818
assertEquals(0,
1919
Main.executeMain(new String[] { "--random-seed", "0", "--timeout-seconds", TestConfig.SECONDS,
20-
"--max-expression-depth", "1", "--num-threads", "4", "--num-queries", TestConfig.NUM_QUERIES,
21-
"mysql" }));
20+
"--num-threads", "4", "--random-string-generation", "ALPHANUMERIC", "--database-prefix",
21+
"pqsdb" /* Workaround for connections not being closed */, "--num-queries",
22+
TestConfig.NUM_QUERIES, "mysql", "--oracle", "PQS" }));
2223
}
2324

2425
@Test
25-
public void testPQS() {
26+
public void testMySQL() {
2627
assumeTrue(mysqlIsAvailable);
2728
assertEquals(0,
2829
Main.executeMain(new String[] { "--random-seed", "0", "--timeout-seconds", TestConfig.SECONDS,
29-
"--num-threads", "4", "--random-string-generation", "ALPHANUMERIC", "--database-prefix",
30-
"pqsdb" /* Workaround for connections not being closed */, "--num-queries", "100000", "mysql",
31-
"--oracle", "PQS" }));
30+
"--max-expression-depth", "1", "--num-threads", "4", "--num-queries", TestConfig.NUM_QUERIES,
31+
"mysql" }));
3232
}
3333

3434
}

0 commit comments

Comments
 (0)