taxfix / grakn_elixir

Elixir client for Grakn database
MIT License
15 stars 6 forks source link

All tests time out. #24

Open alvitawa opened 5 years ago

alvitawa commented 5 years ago

Hi, when I run the tests with mix test test/grakn_test.exs all the tests seem to time out (on a fresh clone of the repo).

Finished in 289.3 seconds
8 tests, 7 failures, 1 skipped

Randomized with seed 364551

Same for my manual attempts to query grakn using this library.

Any idea what is going on?

Grakn server is running on the default http://localhost:48555/ and I can insert data and do queries with grakn console just fine.

The keyspace grakn_elixir_test does get created.

alvitawa commented 5 years ago

Oh well, I managed to make my own code work. Still no idea why the tests failed but whatever.

liveforeverx commented 5 years ago

@alvitawa

It works on my side:

grakn_elixir> mix test
Compiling 1 file (.ex)
Excluding tags: [:skip]

.....................

Finished in 97.6 seconds
22 tests, 0 failures, 1 excluded

Randomized with seed 864033

Grakn is heavy on resource usage. May be we use different resources to test grakn or different versions of grakn?