Reduce test verbosity on failure
The tests should stop attempting any queries after the first failure.
This commit is contained in:
@ -17,11 +17,11 @@ int main(int argc, char *argv[])
|
||||
TestConnections test(argc, argv);
|
||||
vector<thread> threads;
|
||||
|
||||
for (int i = 0; i < 20; i++)
|
||||
for (int i = 0; i < 20 && test.global_result == 0; i++)
|
||||
{
|
||||
threads.emplace_back([&, i]()
|
||||
{
|
||||
while (running)
|
||||
while (running && test.global_result == 0)
|
||||
{
|
||||
MYSQL* c = test.maxscales->open_rwsplit_connection();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user