orchestracities/ngsi-timeseries-api

AssertionError in existing test

rohit-vrrr opened this issue · 1 comments

Describe the bug

AssertionError occurs in the existing tests.

I have forked this repo and raised a PR with some changes related to LD support. You can view the PR here:
#695

There has been no changes I've made in the tests as such. But still it throws an AssertionError. Below is the error logs:

src/reporter/tests/test_aggregation_different_attribute_types.py:401: AssertionError
------------------------------ Captured log call -------------------------------
query_NTNENA.py            151 WARNING  usage of id and type rather than entityId and entityType from version 0.9
--------------------------- Captured stdout teardown ---------------------------
SchemaUnknownException[Schema 'mtt1' unknown]
{'S': 'ERROR', 'V': 'ERROR', 'C': '42P01', 'M': 'relation "mtt2.ettestroomaggregationdifferenttypes" does not exist', 'P': '22', 'F': 'parse_relation.c', 'L': '1352', 'R': 'parserOpenTable'}
-- generated xml file: /home/circleci/project/test-results/junit-reporter.xml --

You can view the complete logs here:
https://app.circleci.com/pipelines/github/orchestracities/ngsi-timeseries-api/799/workflows/d72334f4-378f-4b91-8068-3f16750689b1/jobs/4936

To Reproduce

Steps to reproduce the behavior:

  1. Just run the tests and this error will come up.

Expected behavior

All the tests should have been cleared.

Environment:

  • OS: Ubuntu 20.04
  • Browser Chrome

Update: I made a small change in the code and pushed it to the repo. That ran the circleci tests and all the tests were passing as usual.

PS: idk why I got this error that one time.