Skip to content

Commit

Permalink
Improve test plan instructions for moderated sessions (#37167)
Browse files Browse the repository at this point in the history
* Improve test plan instructions for moderated sessions

* Update testplan.md
  • Loading branch information
strideynet authored Jan 26, 2024
1 parent 787b19f commit c9792b0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/ISSUE_TEMPLATE/testplan.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,12 +824,14 @@ $ TELEPORT_TEST_GCP_KMS_KEYRING=projects/<account>/locations/us-west3/keyRings/<
## Moderated session
Using `tsh` join an SSH session as two moderators (two separate terminals, role requires one moderator).
- [ ] `Ctrl+C` in the #1 terminal should disconnect the moderator.
- [ ] `Ctrl+C` in the #2 terminal should disconnect the moderator and terminate the session as session has no moderator.
Create two Teleport users, a moderator and a user. Configure Teleport roles to require that the moderator moderate the user's sessions. Use `TELEPORT_HOME` to `tsh login` as the user in one terminal, and the moderator in another.

Using `tsh` join an SSH session as two moderators (two separate terminals, role requires one moderator).
- [ ] `t` in any terminal should terminate the session for all participants.
Ensure the default `terminationPolicy` of `terminate` has not been changed.

For each of the following cases, create a moderated session with the user using `tsh ssh` and join this session with the moderator using `tsh join --role moderator`:
- [ ] Ensure that `Ctrl+C` in the user terminal disconnects the moderator as the session has ended.
- [ ] Ensure that `Ctrl+C` in the moderator terminal disconnects the moderator and terminates the user's session as the session no longer has a moderator.
- [ ] Ensure that `t` in the moderator terminal terminates the session for all participants.
## Performance
Expand Down

0 comments on commit c9792b0

Please sign in to comment.