File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
internal/integration/tests Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ before_script:
2020 - sudo apt-get update
2121 - sudo apt-get install rethinkdb
2222 - rethinkdb > /dev/null 2>&1 &
23- - rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29015 > /dev/null 2>&1 &
24- - rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29015 > /dev/null 2>&1 &
25- - rethinkdb --port-offset 3 --directory rethinkdb_data3 --join localhost:29015 > /dev/null 2>&1 &
23+ - rethinkdb --port-offset 1 --directory rethinkdb_data1 > /dev/null 2>&1 &
24+ - rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29016 > /dev/null 2>&1 &
25+ - rethinkdb --port-offset 3 --directory rethinkdb_data3 --join localhost:29016 > /dev/null 2>&1 &
2626
2727script : go test -tags='cluster' -short -race -v ./...
Original file line number Diff line number Diff line change @@ -46,11 +46,12 @@ func (s *RethinkSuite) TestQueryExec(c *test.C) {
4646}
4747
4848func (s * RethinkSuite ) TestQueryRunWrite (c * test.C ) {
49+ r .DBDrop ("test_runwrite" ).Exec (session )
4950 err := r .DBCreate ("test_runwrite" ).Exec (session )
5051 c .Assert (err , test .IsNil )
5152 err = r .DB ("test_runwrite" ).TableCreate ("test_runwrite" ).Exec (session )
5253 c .Assert (err , test .IsNil )
53- err = r .DB ("test_runwrite" ).TableCreate ("test_runwrite" ).Wait ().Exec (session )
54+ err = r .DB ("test_runwrite" ).Table ("test_runwrite" ).Wait ().Exec (session )
5455 c .Assert (err , test .IsNil )
5556
5657 query := r .DB ("test_runwrite" ).Table ("test_runwrite" ).Insert ([]interface {}{
You can’t perform that action at this time.
0 commit comments