Closed AlvaroVega closed 10 months ago
✓ should not map the database 'sth_testservice time=2023-09-06T10:48:53.179Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_DB_LOG | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Mapping process started... time=2023-09-06T10:48:53.179Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_DB_CONN_OPEN | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Establishing connection to the database at mongodb://localhost:27017/ time=2023-09-06T10:48:53.181Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_DB_CONN_OPEN | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Connection successfully established to the database sth_testservice at mongodb://localhost:27017/ time=2023-09-06T10:48:53.184Z | lvl=ERROR | corr=n/a | trans=n/a | op=OPER_STH_SHUTDOWN | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Error: expected false to equal true time=2023-09-06T10:48:53.185Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_SERVER_STOP | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Stopping the STH server... time=2023-09-06T10:48:53.185Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_SERVERSTOP | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=No hapi server running 7) should not map the collection 'sth/testservicepath_entityId_entityType of database 'sth_testservice' time=2023-09-06T10:48:53.186Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_DB_CONN_CLOSE | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Closing the connection to the database... time=2023-09-06T10:48:53.187Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_DB_LOG | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Mapping process started... time=2023-09-06T10:48:53.187Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_DB_CONN_OPEN | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Establishing connection to the database at mongodb://localhost:27017/ time=2023-09-06T10:48:53.191Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_DB_CONN_CLOSE | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Connection to MongoDb succesfully closed time=2023-09-06T10:48:53.192Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_DB_CONN_OPEN | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Connection successfully established to the database sth_testservice at mongodb://localhost:27017/ time=2023-09-06T10:48:53.195Z | lvl=ERROR | corr=n/a | trans=n/a | op=OPER_STH_SHUTDOWN | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Error: expected false to equal true time=2023-09-06T10:48:53.195Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_SERVER_STOP | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=Stopping the STH server... time=2023-09-06T10:48:53.195Z | lvl=INFO | corr=n/a | trans=n/a | op=OPER_STH_SERVER_STOP | from=n/a | srv=n/a | subsrv=n/a | comp=STH | msg=No hapi server running
https://www.mongodb.com/docs/manual/reference/command/listCollections/
Try to fix https://github.com/telefonicaid/fiware-sth-comet/pull/615