File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
src/test/java/com/influxdb/v3/client/integration Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff 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 = ".*" )
You can’t perform that action at this time.
0 commit comments