first working version
This commit is contained in:
1 parent
13a274ca90
commit
c89ec247c2
1 file changed
+1
-1
@@ -12,7 +12,7 @@ public class InfluxConnectionTest {
|
||||
public void givenConfigurationWhenInfluxPingThenConnectionIsAstablished() throws UnknownHostException {
|
||||
final InfluxDBConfiguration connection = new InfluxDBConfiguration();
|
||||
final InetAddress byName = InetAddress.getByName("https://influxdb.mariuszpacek.pl");
|
||||
connection.setAddress(byName);
|
||||
connection.setAddress(byName.getHostName());
|
||||
final InfluxDB db = new InfluxConnection(connection).getConnection();
|
||||
assert (db.ping().isGood());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user