diff --git a/test/tap/tests/test_com_binlog_dump_enables_fast_forward-t.cpp b/test/tap/tests/test_com_binlog_dump_enables_fast_forward-t.cpp index fe0bf9f07..e846d4d60 100644 --- a/test/tap/tests/test_com_binlog_dump_enables_fast_forward-t.cpp +++ b/test/tap/tests/test_com_binlog_dump_enables_fast_forward-t.cpp @@ -17,9 +17,10 @@ int main(int argc, char** argv) { return -1; } - const std::string user = "sbtest1"; + const std::string user = "root"; + const std::string test_deps_path = getenv("TEST_DEPS"); - const int mysqlbinlog_res = system(("mysqlbinlog single_mysql8_backend-bin.000001 " + const int mysqlbinlog_res = system((test_deps_path + "/mysqlbinlog mysql1-bin.000001 " "--read-from-remote-server --user " + user + " --password=" + user + " --host 127.0.0.1 --port 6033").c_str()); ok(mysqlbinlog_res == 0, "'mysqlbinlog' should be correctly executed. Err code was: %d", mysqlbinlog_res);