File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
* Sketch for running InfluxDBClient tests.
3
3
* For compiling in VSCode add path to workspace ("${workspaceFolder}\\**")
4
4
* Most of the tests require running mock server: cd test/server & node server.js. It will print ip adresses of available network interfaces.
5
- * Modify INFLUXDB_CLIENT_MANAGEMENT_URL and INFLUXDB_CLIENT_TESTING_URL macros to set the correct mock server address.
5
+ * Modify INFLUXDB_CLIENT_TESTING_SERVER_HOST to set the correct mock server address.
6
6
*
7
7
*/
8
8
15
15
#include < ESP8266WiFi.h>
16
16
#endif
17
17
18
- #define INFLUXDB_CLIENT_MANAGEMENT_URL " http://192.168.88.142:998"
19
- #define INFLUXDB_CLIENT_TESTING_URL " http://192.168.88.142:999"
18
+ #define INFLUXDB_CLIENT_TESTING_SERVER_HOST " 192.168.88.142"
20
19
#define INFLUXDB_CLIENT_TESTING_ORG " my-org"
21
20
#define INFLUXDB_CLIENT_TESTING_BUC " my-bucket"
22
21
#define INFLUXDB_CLIENT_TESTING_DB " my-db"
25
24
#define INFLUXDB_CLIENT_TESTING_PASS " password"
26
25
27
26
#include " customSettings.h"
27
+
28
+ #define INFLUXDB_CLIENT_MANAGEMENT_URL " http://" INFLUXDB_CLIENT_TESTING_SERVER_HOST " :998"
29
+ #define INFLUXDB_CLIENT_TESTING_URL " http://" INFLUXDB_CLIENT_TESTING_SERVER_HOST " :999"
30
+
28
31
#include " TestSupport.h"
29
32
#include " Test.h"
30
33
You can’t perform that action at this time.
0 commit comments