ConfigurationTest: Remove flaky invalidTargetArchiveFolder test

This test is failing when running gerrit test in docker image with root
user. It's also failing when remote build execution is used (BuildBuddy
provider).

It seems to rely on the fact that the exception is thrown:

java.nio.file.FileSystemException: /\\\: Operation not permitted

However when the test is executed with BuildBuddy RBE that exception is
not raised and as a consequence of that the test ends up failing. It
looks that the folder /\\\ is created in the remote executor.

While it could be fixed with:

exec_properties = {
    "dockerUser": "nobody",
},

we prefer not to complicate our build toolchain and rather remove the
test.

Change-Id: I51bccdf2cb19559690d3d88bd92cf60bc28f5fcd
diff --git a/src/test/java/com/googlesource/gerrit/plugins/deleteproject/ConfigurationTest.java b/src/test/java/com/googlesource/gerrit/plugins/deleteproject/ConfigurationTest.java
index 9b59f63..6740bd3 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/deleteproject/ConfigurationTest.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/deleteproject/ConfigurationTest.java
@@ -36,7 +36,6 @@
   private static final long DEFAULT_ARCHIVE_DURATION_MS = TimeUnit.DAYS.toMillis(180);
   private static final String CUSTOM_DURATION = "100";
   private static final String CUSTOM_PARENT = "customParent";
-  private static final String INVALID_CUSTOM_FOLDER = "//\\\\\\///////";
   private static final String INVALID_ARCHIVE_DURATION = "180weeks180years";
   private static final String PLUGIN_NAME = "delete-project";
 
@@ -114,16 +113,4 @@
 
     assertThat(deleteConfig.getArchiveDuration()).isEqualTo(DEFAULT_ARCHIVE_DURATION_MS);
   }
-
-  @Test
-  public void invalidTargetArchiveFolder() {
-    PluginConfig.Update pluginConfig = PluginConfig.Update.forTest(PLUGIN_NAME, new Config());
-    pluginConfig.setString("archiveFolder", INVALID_CUSTOM_FOLDER);
-
-    when(pluginConfigFactoryMock.getFromGerritConfig(PLUGIN_NAME))
-        .thenReturn(pluginConfig.asPluginConfig());
-    deleteConfig = new Configuration(pluginConfigFactoryMock, PLUGIN_NAME, pluginDataDir);
-
-    assertThat(deleteConfig.getArchiveFolder().toString()).isEqualTo(pluginDataDir.toString());
-  }
 }