first working version

This commit is contained in:
Mariusz Pacek committed 2021-12-05 01:47:56 +01:00
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());
}