File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
workspace :
2
2
base : /go
3
- path : src/github.com/src-d/gitbase-playground
3
+ path : src/github.com/src-d/gitbase-web
4
4
5
5
branches : [master]
6
6
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ gitbaseServer:
36
36
# commit: v4.4.0
37
37
gitbase :
38
38
url : https://github.com/src-d/gitbase.git
39
- gitbase-playground :
40
- url : https://github.com/src-d/gitbase-playground .git
39
+ gitbase-web :
40
+ url : https://github.com/src-d/gitbase-web .git
41
41
bblfshd :
42
42
url : https://github.com/bblfsh/bblfshd.git
43
43
siva-java :
Original file line number Diff line number Diff line change 47
47
- docker exec -it bblfshd bblfshctl driver install go docker://bblfsh/go-driver:latest
48
48
- docker exec -it bblfshd bblfshctl driver install javascript docker://bblfsh/javascript-driver:latest
49
49
- mkdir $HOME/repos
50
- - git clone https://github.com/src-d/gitbase-playground .git $HOME/repos/gitbase-playground
50
+ - git clone https://github.com/src-d/gitbase-web .git $HOME/repos/gitbase-web
51
51
- docker run -d --name gitbase -p "3367:3306" -e "BBLFSH_ENDPOINT=bblfshd:9432" --volume $HOME/repos:/opt/repos --link bblfshd srcd/gitbase
52
52
- sleep 15
53
53
- GITBASEPG_DB_CONNECTION='root@tcp(localhost:3367)/none' GITBASEPG_INTEGRATION_TESTS=true make test
Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ func (suite *ExportIntegrationSuite) TestSuccess() {
50
50
r := csv .NewReader (res .Body )
51
51
52
52
record , err := r .Read ()
53
- suite .Nil (err )
54
- suite .Equal (record , []string {"repository_id" })
53
+ suite .Require (). Nil (err )
54
+ suite .Require (). Equal (record , []string {"repository_id" })
55
55
56
56
record , err = r .Read ()
57
- suite .Nil (err )
58
- suite .Equal (len (record ), 1 )
59
- suite .True (len (record [0 ]) > 0 )
57
+ suite .Require (). Nil (err )
58
+ suite .Require (). Equal (len (record ), 1 )
59
+ suite .Require (). True (len (record [0 ]) > 0 )
60
60
}
61
61
62
62
func (suite * ExportIntegrationSuite ) TestError () {
You can’t perform that action at this time.
0 commit comments