diggy
(Dgraph Bot)
1
Posted by darionyaphet:
io.dgraph.AcctUpsertTest.beforeClass FAILED
java.lang.AssertionError
io.dgraph.DgraphAsyncClientTest.beforeClass FAILED
java.util.concurrent.CompletionException
Caused by: io.grpc.StatusRuntimeException
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException
Caused by: java.net.ConnectException
diggy
(Dgraph Bot)
2
mangalaman93 commented :
Seems like that tests are unable to connect to Alpha. Could you let us know how you are running the tests?
diggy
(Dgraph Bot)
4
mangalaman93 commented :
Yeah, that makes sense. Please follow the steps below instead, the tests need a running live dgraph cluster -
- Create a dgraph cluster using a compose file here dgraph/docker-compose.yml at master · dgraph-io/dgraph · GitHub
- install dgraph binary in your PATH
- run
./gradlew test
Ideally, we should create a script that does this for us. I will keep the issue open until that happens. Thanks for raising this issue.