(t *testing.T)
| 97 | } |
| 98 | |
| 99 | func TestLiveLoadJSONFile(t *testing.T) { |
| 100 | testutil.DropAll(t, dg) |
| 101 | |
| 102 | pipeline := [][]string{ |
| 103 | {testutil.DgraphBinaryPath(), "live", |
| 104 | "--schema", testDataDir + "/family.schema", "--files", testDataDir + "/family.json", |
| 105 | "--alpha", alphaService, "--creds", "user=groot;password=password;"}, |
| 106 | } |
| 107 | _, err := testutil.Pipeline(pipeline) |
| 108 | require.NoError(t, err, "live loading JSON file exited with error") |
| 109 | |
| 110 | checkLoadedData(t) |
| 111 | } |
| 112 | |
| 113 | func TestLiveLoadCanUseAlphaForAssigningUids(t *testing.T) { |
| 114 | testutil.DropAll(t, dg) |
nothing calls this directly
no test coverage detected