-
Notifications
You must be signed in to change notification settings - Fork 15
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
test: e2e tests iteration 2 #888
Conversation
…d fast to run locally (2) can be run via github actions (3) support multiple types of 'executables' (e.g. dart binaries, c binaries, docker containers) (4) easily configurable matrix of daemon versions, client versions and tests to execute
… daemons time to clean up their authorized_keys
- refactor: tests/e2e_all: added 'getOutputDir' function to common - logging changes - added default value for daemonStartWait (time to wait for daemons to start running) - added daemonStopWait (time to wait after tests have completed, to give those daemons whose timers haven't yet removed an ephemeral key from authorized_keys enough time to do so)
…ode; run_all.sh will also exit with that exit code
…nted the `expect` magic to allow the 5.x clients to run even though there is not a real terminal attached. (Note: The latest 5.1.0 build has defensive code added so that it doesn't just crash when there is no terminal attached)
…nted the `expect` magic to allow the 5.x clients to run even though there is not a real terminal attached. (Note: The latest 5.1.0 build has defensive code added so that it doesn't just crash when there is no terminal attached)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @gkc !
I cannot get the local tests to run on my M1 Mac...
The mount point used /host_mnt/ looks whacky to me..
Spent a while on it after instaiing No joy as yet.. running act in the top level directory seems to work fine however so act is ok I think.
|
Also needs a bit more in the README about setting up the "JSON_FROM_KEYS" (Quotes inside must be double delimited i.e. \" ) |
@cconstab refactored duplicate code to remove bug vectors; added |
Will take a look this eve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was able to pull and run locally!
One improvement in the So I change that line from This then is checking something that I do love the Scooby Doo ref |
… network weather and so on, without requiring manual reruns of the checks
Thank you! Have made the change.
|
I made a few more changes
|
- What I did
- How I did it
In tests/e2e_all:
in packages/dart/sshnoports/bin/sshnp.dart
- How to verify it
Additional context
Shout-out and endless thanks to @JeremyTubongbanua who built the first iteration of the NoPorts e2e test rig