Some integration tests are failing
As @inglada mentions in MR !44 (merged) (ref), 4 integration tests are failing on develop. I thinks this deserves an issue.
Ran 32 tests in 4306.794s
FAILED (failures=2, errors=2)
The two errors are ok, I think, it's only a warning for port already in use:
test_classification_then_vectorization
test_vectorization_without_clipfile
Exception: /home/trentesauxh/mambaforge/envs/iota2-dev/lib/python3.6/site-packages/distributed/node.py:155: UserWarning: Port 8787 is already in use.
we should find a way to overcome this.
The two other are not easy to understand:
test_vectorization_with_clipfile
test_vectorization_without_grid
since the message is:
AssertionError: False is not true
the corresponding lines are:
self.assertTrue(len(vecto_result_list) == 2)
self.assertTrue(len(vecto_result_list) == 1)
link to code:
- https://framagit.org/iota2-project/iota2/-/blob/develop/iota2/Tests/IntegrationTests/running_Tests_vectorization.py#L162
- https://framagit.org/iota2-project/iota2/-/blob/develop/iota2/Tests/IntegrationTests/running_Tests_vectorization.py#L268
We should use assertEqual
instead.