Skip to content

Commit 966fcc4

Browse files
Update client/client.go
Co-authored-by: Eric Eastwood <erice@element.io>
1 parent bcba56c commit 966fcc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func (c *CSAPI) MustCreateRoom(t ct.TestLike, reqBody map[string]interface{}) st
166166
func (c *CSAPI) CreateRoom(t ct.TestLike, body map[string]interface{}) *http.Response {
167167
t.Helper()
168168
// Ensure we don't call /createRoom from the same user in parallel, else we might try to make
169-
// 2 rooms in the same millisecond, causing v12 rooms to get the same room ID thus failing the test.
169+
// 2 rooms in the same millisecond (same `origin_server_ts`), causing v12 rooms to get the same room ID thus failing the test.
170170
c.createRoomMutex.Lock()
171171
defer c.createRoomMutex.Unlock()
172172
return c.Do(t, "POST", []string{"_matrix", "client", "v3", "createRoom"}, WithJSONBody(t, body))

0 commit comments

Comments
 (0)