Add missing newline to mysqlmon stress test assertions
The tests did not add a new line to the assertion output which would explain why no output from the test itself was given.
This commit is contained in:
@ -43,7 +43,7 @@ const time_t TEST_DURATION = 90;
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
|
||||
#define ss_dassert(x) do { if (!(x)) { fprintf(stderr, "Assertion failed: %s", #x); abort(); } } while(false)
|
||||
#define ss_dassert(x) do { if (!(x)) { fprintf(stderr, "Assertion failed: %s\n", #x); abort(); } } while(false)
|
||||
#define ss_debug(x) x
|
||||
|
||||
#else
|
||||
|
@ -46,7 +46,7 @@ const char* CLIENT_PASSWORD = "mysqlmon_switchover_stress";
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
|
||||
#define ss_dassert(x) do { if (!(x)) { fprintf(stderr, "Assertion failed: %s", #x); abort(); } } while(false)
|
||||
#define ss_dassert(x) do { if (!(x)) { fprintf(stderr, "Assertion failed: %s\n", #x); abort(); } } while(false)
|
||||
#define ss_debug(x) x
|
||||
|
||||
#else
|
||||
|
Reference in New Issue
Block a user