Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add minimal E2E testing #11

Open
gzurl opened this issue Oct 19, 2022 · 1 comment
Open

Add minimal E2E testing #11

gzurl opened this issue Oct 19, 2022 · 1 comment
Labels
⚙️ automation CI/CD related issues 🧪 testing Issues related to testing (unit tests, E2E testing, ...)

Comments

@gzurl
Copy link
Contributor

gzurl commented Oct 19, 2022

A minimal E2E (end-to-end) testing would be using the demo container but with the mod_wasm.so and libwasm_runtime.so libraries built with the new code.

The test could be as simple as executing a curl over an endpoint served by the Wasm module in Apache and checking for its result.

The 'PrettyFy' WebApp could be a nice target since it requires the Python interpreter as the Wasm module: curl -vvv http://127.0.0.1:8080/wasm-module?file=search_word_count.py

Also, running the Apache Benchmark tool (in httpd/dist/bin) with a few tests in parallel could help to identify potential problems with the mutexes:
./ab -n 100 -c 10 http://192.168.64.2:8080/wasm-module?file=search_word_count.py

@gzurl gzurl added ⚙️ automation CI/CD related issues 🧪 testing Issues related to testing (unit tests, E2E testing, ...) labels Oct 19, 2022
@gzurl
Copy link
Contributor Author

gzurl commented Jul 25, 2023

Probably, a more convenient E2E test could be to run the "Hello Wasm!" example which doesn't require any runtime such as Python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ automation CI/CD related issues 🧪 testing Issues related to testing (unit tests, E2E testing, ...)
Projects
None yet
Development

No branches or pull requests

1 participant