forked from Silverfish/proton-bridge
GODT-1474: Optimising live integration tests
- pkg/pmapi: Reduce max number of retries - test/features: tweak create mailbox scenarios. - test/context: change order of clean up steps - test/context: logger field - test/context: message preparation per username - test/context: check that eventID has changed after adding messages - test/features: make sure we wait 15sec before detecting import duplicates
This commit is contained in:
@ -36,6 +36,8 @@ type Controller struct {
|
||||
|
||||
// State controlled by test.
|
||||
noInternetConnection bool
|
||||
|
||||
lastEventByUsername map[string]string
|
||||
}
|
||||
|
||||
func NewController() (*Controller, pmapi.Manager) {
|
||||
@ -46,6 +48,7 @@ func NewController() (*Controller, pmapi.Manager) {
|
||||
messageIDsByUsername: map[string][]string{},
|
||||
|
||||
noInternetConnection: false,
|
||||
lastEventByUsername: map[string]string{},
|
||||
}
|
||||
|
||||
persistentClients.manager.SetTransport(&fakeTransport{
|
||||
|
||||
Reference in New Issue
Block a user