From 85197c6af80c29b5e3b5ef98569c567dc771fa91 Mon Sep 17 00:00:00 2001 From: Daniel Mai Date: Thu, 11 Apr 2019 17:17:50 -0700 Subject: [PATCH] Fix a few systests using the removed --dgraph flag. (#3284) The flag name changed in #3273. --- systest/21million/test-21million.sh | 2 +- systest/cluster_test.go | 2 +- systest/loader-benchmark/loader-benchmark.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/systest/21million/test-21million.sh b/systest/21million/test-21million.sh index 86a5f44f994..8057bc86035 100755 --- a/systest/21million/test-21million.sh +++ b/systest/21million/test-21million.sh @@ -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 diff --git a/systest/cluster_test.go b/systest/cluster_test.go index 52e8f0c9d79..64f1c0bd181 100644 --- a/systest/cluster_test.go +++ b/systest/cluster_test.go @@ -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 diff --git a/systest/loader-benchmark/loader-benchmark.sh b/systest/loader-benchmark/loader-benchmark.sh index be095964f23..1a21697513f 100755 --- a/systest/loader-benchmark/loader-benchmark.sh +++ b/systest/loader-benchmark/loader-benchmark.sh @@ -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