Skip to content

Commit

Permalink
fix plan
Browse files Browse the repository at this point in the history
  • Loading branch information
mirostauder committed Jan 17, 2024
1 parent 5122894 commit 4c56628
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/tap/tests/charset_unsigned_int-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CommandLine cl;

int main(int argc, char** argv) {

plan(2 + 2 + 6);
plan(2+2+2+2+2 + 6);
diag("Testing correct collation set with proxysql");

std::string var_collation_connection = "collation_connection";
Expand Down
6 changes: 5 additions & 1 deletion test/tap/tests/set_testing-multi-t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,11 @@ int main(int argc, char *argv[]) {
// host = cl.host;
// port = cl.port;

plan(2 + queries * num_threads);
int p = 2; // admin connection
p += 2 * queries / queries_per_connections; // user connections
p += queries * num_threads; // tests
plan(p);

if (!readTestCases(fileName)) {
fprintf(stderr, "Cannot read %s\n", fileName.c_str());
return exit_status();
Expand Down

0 comments on commit 4c56628

Please sign in to comment.