File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 107
107
ksqljsTest.js
108
108
package-lock.json
109
109
local_ignore /
110
+ .gitignore
110
111
111
112
# KSQLDB docker server settings
112
113
ksqldb_server_config /
Original file line number Diff line number Diff line change 1
1
const ksqljs = require ( '../ksqljs/ksqlJS.js' ) ;
2
2
3
3
// Pre-requisite: start a docker container
4
+ /* To add to README: Prior to running test with 'npm test', please start the ksqlDB
5
+ server using the command 'docker compose-up'. This will spin up a ksqlDB server on
6
+ 'http://localhost:8088'
7
+ */
4
8
5
9
describe ( '--Integration Tests--' , ( ) => {
6
10
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ services:
43
43
ports :
44
44
- " 8088:8088"
45
45
environment :
46
- KSQL_LISTENERS : https ://0.0.0.0:8088
46
+ KSQL_LISTENERS : http ://0.0.0.0:8088
47
47
KSQL_BOOTSTRAP_SERVERS : broker:9092
48
48
KSQL_KSQL_LOGGING_PROCESSING_STREAM_AUTO_CREATE : " true"
49
49
KSQL_KSQL_LOGGING_PROCESSING_TOPIC_AUTO_CREATE : " true"
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class ksqljs {
78
78
this . httpsAgentHttp2 ? this . httpsAgentHttp2 : { }
79
79
) ;
80
80
81
- session . on ( "error" , ( err ) => console . error ( err ) ) ;
81
+ session . on ( "error" , ( err ) => reject ( err ) ) ;
82
82
83
83
const req = session . request (
84
84
this . secret && this . API ?
You can’t perform that action at this time.
0 commit comments