Skip to content

Commit f2514ec

Browse files
author
Andrzej Religa
committed
Merge branch 'mysql-8.0' into mysql-trunk
Change-Id: If930f56292547a1b9d9e3438b0da0f6e2af62443
2 parents 84b2b78 + a0ad705 commit f2514ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

router/tests/component/test_bootstrap.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,14 +1622,14 @@ TEST_F(RouterBootstrapTest,
16221622
* verify that master key file is not overridden by subsequent bootstrap.
16231623
*/
16241624
TEST_F(RouterBootstrapTest, MasterKeyFileNotChangedAfterSecondBootstrap) {
1625-
std::string master_key_path =
1626-
Path(bootstrap_dir.name()).join("mysqlrouter.key").str();
1627-
std::string keyring_path =
1628-
Path(bootstrap_dir.name()).join("data").join("keyring").str();
1629-
16301625
mysql_harness::mkdir(Path(bootstrap_dir.name()).str(), 0777);
16311626
mysql_harness::mkdir(Path(bootstrap_dir.name()).join("data").str(), 0777);
16321627

1628+
const std::string master_key_path =
1629+
Path(bootstrap_dir.name()).real_path().join("mysqlrouter.key").str();
1630+
const std::string keyring_path =
1631+
Path(bootstrap_dir.name()).real_path().join("data").join("keyring").str();
1632+
16331633
SCOPED_TRACE("// create the keyrings manually.");
16341634
auto &proc = launch_command(get_origin().join("mysqlrouter_keyring").str(),
16351635
{

0 commit comments

Comments
 (0)