Files
tasks/tests/testcore/constants.go
Alex ShtinandGitHub 868e4f14a0 Refactor: remove FunctionalTestSdkSuite base struct (#7762)
## What changed?
Refactor: remove `FunctionalTestSdkSuite` base struct and move SDK
client and worker to `FunctionalTestBase`.

## Why?
Many poller based tests use SDK client/worker for various operations. It
is much more convenient to have them defined in the top level base
class.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
2025-05-14 17:08:42 -07:00

13 lines
325 B
Go

package testcore
import "time"
const (
DefaultPageSize = 5
PprofTestPort = 7000
TlsCertCommonName = "my-common-name"
ClientSuiteLimit = 10
// TODO (alex): replace all sleeps with WaitForESToSettle with s.Eventually()
WaitForESToSettle = 4 * time.Second // wait es shards for some time ensure data consistent
)