From 24c7bd88caea1a42a9db6ce1029eb9366b17532f Mon Sep 17 00:00:00 2001 From: usuletw022 Date: Tue, 26 Mar 2024 14:25:37 +0000 Subject: [PATCH] doc: add README for step to run e2e tests locally --- e2e_tests/README.md | 18 ++++++++++++++++++ e2e_tests/run-e2e-tests.sh | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 e2e_tests/README.md diff --git a/e2e_tests/README.md b/e2e_tests/README.md new file mode 100644 index 0000000..4da2665 --- /dev/null +++ b/e2e_tests/README.md @@ -0,0 +1,18 @@ +# End-to-end tests + +## Description + +Run end-to-end tests against Everest (Charge station simulator) along with CSMS + + +## Steps + +1. Run the following bash script to start the docker containers for Everest and CSMS and execute the end-to-end tests +```shell +./run-e2e-tests.sh +``` + + + + + diff --git a/e2e_tests/run-e2e-tests.sh b/e2e_tests/run-e2e-tests.sh index ab9682b..355ad08 100755 --- a/e2e_tests/run-e2e-tests.sh +++ b/e2e_tests/run-e2e-tests.sh @@ -40,7 +40,7 @@ start_docker_compose_for_everest() { fi echo "Waiting for services to initialize..." - sleep 30 + sleep 10 } # Function to stop Docker Compose