Updated the requirements from the local tests.
Updated to MongoDB 7.0
Local Tests
Before updating to 7.0, be sure to download the latest MongoDB package.
To run End-to-End-tests, the containers must be stopped and deleted. If e2e tests had been executed before the existing containers would be kytos-end-to-end-tests-kytos-1, mongo-test-rs-init, mongo1t, mongo2t and mongo3t:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
34ba9c958311 amlight/kytos:aldo2 "/docker-entrypoint.…" 3 hours ago Exited (0) 3 hours ago kytos-end-to-end-tests-kytos-1
c6a6d07badef mongo:7.0 "/scripts/rs-init.sh" 3 hours ago Exited (0) 3 hours ago mongo-test-rs-init
1fdee082d3b0 mongo:7.0 "/usr/bin/mongod --b…" 3 hours ago Up 33 seconds 27017/tcp, 0.0.0.0:27027->27027/tcp, :::27027->27027/tcp mongo1t
3d42f39d4aef mongo:7.0 "/usr/bin/mongod --b…" 3 hours ago Up 33 seconds 27017/tcp, 0.0.0.0:27029->27029/tcp, :::27029->27029/tcp mongo3t
00f211bfd7dc mongo:7.0 "/usr/bin/mongod --b…" 3 hours ago Up 33 seconds 27017/tcp, 0.0.0.0:27028->27028/tcp, :::27028->27028/tcp mongo2t
To show containers: docker ps -a
To stop a container: docker stop $CONTAINER_ID
To delete a container: docker rm $CONTAINER_ID
Discrepancies:
Sometimes when running the 7.0 version for the first time the authorization fails. A rerun solves it.
Closes #303
Summary
Updated the requirements from the local tests. Updated to MongoDB 7.0
Local Tests
Before updating to 7.0, be sure to download the latest MongoDB package. To run End-to-End-tests, the containers must be stopped and deleted. If e2e tests had been executed before the existing containers would be
kytos-end-to-end-tests-kytos-1
,mongo-test-rs-init
,mongo1t
,mongo2t
andmongo3t
:To show containers:
docker ps -a
To stop a container:docker stop $CONTAINER_ID
To delete a container:docker rm $CONTAINER_ID
Discrepancies:
End-to-End Tests