Partially revert 4ba011266843857bbd3201e5b925a47e88e1808f
Add back leading operator enforcement.
This commit is contained in:
@ -181,11 +181,11 @@ int main(int argc, char* argv[])
|
||||
for (i = 0; i < Test->repl->N; i++)
|
||||
{
|
||||
Test->set_timeout(60);
|
||||
num_conn
|
||||
= get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
num_conn =
|
||||
get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
Test->tprintf("Connections to node %d (%s): %d\n", i, Test->repl->IP[i], num_conn);
|
||||
if ((i == 0) && (num_conn > 2 * conn_N))
|
||||
{
|
||||
@ -203,11 +203,11 @@ int main(int argc, char* argv[])
|
||||
for (i = 0; i < Test->repl->N; i++)
|
||||
{
|
||||
Test->set_timeout(60);
|
||||
num_conn
|
||||
= get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
num_conn =
|
||||
get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
printf("Connections to node %d (%s): %d\n", i, Test->repl->IP[i], num_conn);
|
||||
if ((i == 0) && (num_conn > 2 * conn_N))
|
||||
{
|
||||
@ -221,11 +221,11 @@ int main(int argc, char* argv[])
|
||||
|
||||
for (i = 0; i < Test->repl->N; i++)
|
||||
{
|
||||
num_conn
|
||||
= get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
num_conn =
|
||||
get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
printf("Connections to node %d (%s): %d\n", i, Test->repl->IP[i], num_conn);
|
||||
if ((i == 0) && (num_conn > 2 * conn_N))
|
||||
{
|
||||
@ -240,11 +240,11 @@ int main(int argc, char* argv[])
|
||||
for (i = 0; i < Test->repl->N; i++)
|
||||
{
|
||||
Test->set_timeout(60);
|
||||
num_conn
|
||||
= get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
num_conn =
|
||||
get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
printf("Connections to node %d (%s): %d\n", i, Test->repl->IP[i], num_conn);
|
||||
if ((i == 0) && (num_conn != 0))
|
||||
{
|
||||
@ -261,11 +261,11 @@ int main(int argc, char* argv[])
|
||||
for (i = 0; i < Test->repl->N; i++)
|
||||
{
|
||||
Test->set_timeout(60);
|
||||
num_conn
|
||||
= get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
num_conn =
|
||||
get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
Test->tprintf("Connections to node %d (%s): %d\n", i, Test->repl->IP[i], num_conn);
|
||||
if ((i == 0) && (num_conn != 0))
|
||||
{
|
||||
@ -286,11 +286,11 @@ int main(int argc, char* argv[])
|
||||
for (i = 0; i < Test->repl->N; i++)
|
||||
{
|
||||
Test->set_timeout(60);
|
||||
num_conn
|
||||
= get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
num_conn =
|
||||
get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
Test->tprintf("Connections to node %d (%s): %d\n", i, Test->repl->IP[i], num_conn);
|
||||
if ((i == 0) && (num_conn != 0))
|
||||
{
|
||||
@ -309,11 +309,11 @@ int main(int argc, char* argv[])
|
||||
for (i = 0; i < Test->repl->N; i++)
|
||||
{
|
||||
Test->set_timeout(60);
|
||||
num_conn
|
||||
= get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
num_conn =
|
||||
get_conn_num(Test->repl->nodes[i],
|
||||
Test->maxscales->IP[0],
|
||||
Test->maxscales->hostname[0],
|
||||
(char*) "test");
|
||||
Test->tprintf("Connections to node %d (%s): %d\n", i, Test->repl->IP[i], num_conn);
|
||||
if ((i == 0) && (num_conn != 0))
|
||||
{
|
||||
|
Reference in New Issue
Block a user