Skip to content

Commit 17e203f

Browse files
wip
1 parent 0dcad12 commit 17e203f

File tree

1 file changed

+0
-19
lines changed
  • src/test/java/com/influxdb/v3/client/integration

1 file changed

+0
-19
lines changed

src/test/java/com/influxdb/v3/client/integration/E2ETest.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -113,25 +113,6 @@ void correctSslCertificates() throws Exception {
113113
assertGetDataSuccess(influxDBClient);
114114
}
115115

116-
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_URL", matches = ".*")
117-
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_TOKEN", matches = ".*")
118-
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_DATABASE", matches = ".*")
119-
@Test
120-
void wrongSslCertificate() {
121-
String certificateFile = "src/test/java/com/influxdb/v3/client/testdata/docker.com.pem";
122-
123-
ClientConfig clientConfig = new ClientConfig.Builder()
124-
.host(System.getenv("TESTING_INFLUXDB_URL"))
125-
.token(System.getenv("TESTING_INFLUXDB_TOKEN").toCharArray())
126-
.database(System.getenv("TESTING_INFLUXDB_DATABASE"))
127-
.sslRootsFilePath(certificateFile)
128-
.build();
129-
InfluxDBClient influxDBClient = InfluxDBClient.getInstance(clientConfig);
130-
assertGetDataSuccess(influxDBClient);
131-
// Assertions.assertThatThrownBy(() -> assertGetDataSuccess(influxDBClient))
132-
// .isInstanceOf(Exception.class);
133-
}
134-
135116
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_URL", matches = ".*")
136117
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_TOKEN", matches = ".*")
137118
@EnabledIfEnvironmentVariable(named = "TESTING_INFLUXDB_DATABASE", matches = ".*")

0 commit comments

Comments
 (0)