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 22 * Sketch for running InfluxDBClient tests.
33 * For compiling in VSCode add path to workspace ("${workspaceFolder}\\**")
44 * 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.
66 *
77 */
88
1515#include < ESP8266WiFi.h>
1616#endif
1717
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"
2019#define INFLUXDB_CLIENT_TESTING_ORG " my-org"
2120#define INFLUXDB_CLIENT_TESTING_BUC " my-bucket"
2221#define INFLUXDB_CLIENT_TESTING_DB " my-db"
2524#define INFLUXDB_CLIENT_TESTING_PASS " password"
2625
2726#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+
2831#include " TestSupport.h"
2932#include " Test.h"
3033
You can’t perform that action at this time.
0 commit comments