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

Fix wasi-sockets tests #2389

Merged

Commits on Jul 27, 2023

  1. Fix wasi-sockets tests

    Tests were failing because the right permissions were not provided to iwasm.
    Also, test failures didn't trigger build failure due to typo - also fixed in this change
    
    In addition to that, I fixed a few issues with the test itself:
    * the `server_init_complete` was not reset early enough causing the client to occasionally assume the server started even though it didn't yet.
    * set `SO_REUSEADDR` on the server socket so the port can be reused shortly after closing the previous socket
    * defined receive-send-receive sequence from server to make sure server is alive at the time of sending messages from client
    loganek committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    56e9594 View commit details
    Browse the repository at this point in the history