Skip to content

Commit

Permalink
Fix a few systests using the removed --dgraph flag. (#3284)
Browse files Browse the repository at this point in the history
The flag name changed in #3273.
  • Loading branch information
danielmai authored Apr 12, 2019
1 parent 7e9c976 commit 85197c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion systest/21million/test-21million.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ DockerCompose logs -f alpha1 | grep -q -m1 "Server is ready"
if [[ $LOADER == live ]]; then
Info "live loading data set"
dgraph live --schema=<(curl -LSs $SCHEMA_URL) --files=<(curl -LSs $DATA_URL) \
--format=rdf --zero=:5080 --dgraph=:9180 --logtostderr
--format=rdf --zero=:5080 --alpha=:9180 --logtostderr
fi

if [[ $LOAD_ONLY ]]; then
Expand Down
2 changes: 1 addition & 1 deletion systest/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func DONOTRUNTestClusterSnapshot(t *testing.T) {
liveCmd := exec.Command(os.ExpandEnv("$GOPATH/bin/dgraph"), "live",
"--files", data,
"--schema", schema,
"--dgraph", ":"+cluster.alphaPort,
"--alpha", ":"+cluster.alphaPort,
"--zero", ":"+cluster.zeroPort,
)
liveCmd.Dir = tmpDir
Expand Down
2 changes: 1 addition & 1 deletion systest/loader-benchmark/loader-benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ DockerCompose logs -f dg1 | grep -q -m1 "Server is ready"
if [[ $DGRAPH_LOADER == live ]]; then
Info "live loading 21million data set"
dgraph live --schema=<(curl -LSs $SCHEMA_URL) --files=<(curl -LSs $DATA_URL) \
--format=rdf --zero=:5080 --dgraph=:9180 --logtostderr
--format=rdf --zero=:5080 --alpha=:9180 --logtostderr
fi

0 comments on commit 85197c6

Please sign in to comment.