File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1622,14 +1622,14 @@ TEST_F(RouterBootstrapTest,
1622
1622
* verify that master key file is not overridden by subsequent bootstrap.
1623
1623
*/
1624
1624
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
-
1630
1625
mysql_harness::mkdir (Path (bootstrap_dir.name ()).str (), 0777 );
1631
1626
mysql_harness::mkdir (Path (bootstrap_dir.name ()).join (" data" ).str (), 0777 );
1632
1627
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
+
1633
1633
SCOPED_TRACE (" // create the keyrings manually." );
1634
1634
auto &proc = launch_command (get_origin ().join (" mysqlrouter_keyring" ).str (),
1635
1635
{
You can’t perform that action at this time.
0 commit comments