2024-10-17 16:16:37 +01:00
|
|
|
// Copyright 2024 New Vector Ltd.
|
2022-11-07 14:07:47 +00:00
|
|
|
// Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
|
|
//
|
2024-10-17 16:16:37 +01:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
// Please see LICENSE in the repository root for full details.
|
2022-11-07 14:07:47 +00:00
|
|
|
|
|
|
|
//go:build vw
|
|
|
|
|
|
|
|
package internal
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
// Sytest is expecting to receive a `/devices` request. The way it is implemented in Dendrite
|
|
|
|
// results in a one-hour wait time from a previous device so the test times out. This is fine for
|
|
|
|
// production, but makes an otherwise passing test fail.
|
|
|
|
const defaultWaitTime = time.Second
|
|
|
|
const hourWaitTime = time.Second
|