File tree Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ language: go
3
3
go :
4
4
- 1.8.x
5
5
6
+
7
+ before_install :
8
+ - mysql -e 'CREATE DATABASE grid;'
6
9
install : make get-deps prepare
7
10
script :
8
11
- make test
Original file line number Diff line number Diff line change @@ -36,7 +36,8 @@ concurrency-test-prepare: build
36
36
go install github.com/qa-dev/jsonwire-grid/testing/webdriver-node-mock
37
37
go install github.com/qa-dev/jsonwire-grid/testing/webdriver-mock-creator
38
38
go install github.com/qa-dev/jsonwire-grid/testing/webdriver-concurrency-test
39
- CONFIG_PATH=$(TEST_CONFIG_PATH ) nohup ${GOPATH} /bin/service-entrypoint > /dev/null 2>&1 &
39
+ nohupkillall -9 service-entrypoint > /dev/null 2>&1 &
40
+ CONFIG_PATH=$(TEST_CONFIG_PATH ) ${GOPATH} /bin/service-entrypoint &
40
41
41
42
concurrency-test : concurrency-test-prepare
42
43
webdriver-concurrency-test
Original file line number Diff line number Diff line change
1
+ {
2
+ "logger" : {
3
+ "level" : 3
4
+ },
5
+ "db" : {
6
+ "implementation" : " mysql" ,
7
+ "connection" : " root:@(127.0.0.1:3306)/grid?tx_isolation=SERIALIZABLE&parseTime=true"
8
+ },
9
+ "grid" : {
10
+ "port" : 4444 ,
11
+ "strategy_list" : [
12
+ {
13
+ "type" : " default" ,
14
+ "limit" : 0
15
+ }
16
+ ],
17
+ "busy_node_duration" : " 15m" ,
18
+ "reserved_node_duration" : " 5m"
19
+ },
20
+ "statsd" : {
21
+ "host" : " statsd-host" ,
22
+ "port" : 8126 ,
23
+ "protocol" : " udp" ,
24
+ "prefix" : " products.tests.qa.debug-dev.jsonwire-grid." ,
25
+ "enable" : false
26
+ }
27
+ }
You can’t perform that action at this time.
0 commit comments