-
Notifications
You must be signed in to change notification settings - Fork 69
Custom Deployment quality of life improvements (pass t, config)
#778
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
Changes from 4 commits
94a8e61
896ab4f
9035d88
10578f6
8fb49da
d591b4d
c443481
ae8cf42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,13 @@ import ( | |
|
|
||
| // Deployment provides a way for tests to interact with a set of homeservers. | ||
| type Deployment interface { | ||
| // Returns the resolvable server name (host) of a homeserver given its short alias | ||
| // (e.g., "hs1", "hs2"). | ||
| // | ||
| // In the case of the standard Docker deployment, this will be the same `hs1`, `hs2` | ||
| // but may be different for other custom deployments (ex. | ||
| // `shardDeployment1.GetFullyQualifiedHomeserverName(t, "hs1")` -> `hs1.shard1:8081`). | ||
| GetFullyQualifiedHomeserverName(t ct.TestLike, hsName string) string | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kegsay Just to double-check with the Complement taste-maker, do these changes make sense to you? Are you okay with this breaking change to the Are you okay with the breaking changes to
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm happy with adding more params to I'm unhappy with adding
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| // UnauthenticatedClient returns a blank CSAPI client. | ||
| UnauthenticatedClient(t ct.TestLike, serverName string) *client.CSAPI | ||
| // Register a new user on the given server. | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.