fix remote test
This commit is contained in:
		@@ -189,7 +189,6 @@ protected:
 | 
				
			|||||||
    const auto mount_remote = [&](std::uint16_t port = 40000U) {
 | 
					    const auto mount_remote = [&](std::uint16_t port = 40000U) {
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        mount_location2 = mount_location;
 | 
					        mount_location2 = mount_location;
 | 
				
			||||||
 | 
					 | 
				
			||||||
        auto test_directory = utils::path::combine(
 | 
					        auto test_directory = utils::path::combine(
 | 
				
			||||||
            test::get_test_output_dir(),
 | 
					            test::get_test_output_dir(),
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
@@ -219,7 +218,7 @@ protected:
 | 
				
			|||||||
        });
 | 
					        });
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      execute_mount(drive_args2, mount_location2);
 | 
					      execute_mount(drive_args2, mount_location);
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    switch (provider_t::type) {
 | 
					    switch (provider_t::type) {
 | 
				
			||||||
@@ -261,8 +260,8 @@ protected:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  static void TearDownTestCase() {
 | 
					  static void TearDownTestCase() {
 | 
				
			||||||
    if (provider_t::type == provider_type::remote) {
 | 
					    if (provider_t::type == provider_type::remote) {
 | 
				
			||||||
      execute_unmount(drive_args);
 | 
					 | 
				
			||||||
      execute_unmount(drive_args2);
 | 
					      execute_unmount(drive_args2);
 | 
				
			||||||
 | 
					      execute_unmount(drive_args);
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      execute_unmount(drive_args);
 | 
					      execute_unmount(drive_args);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user