forked from Silverfish/proton-bridge
GODT-1409 Wait in GetEvents during message preparation for live API.
This commit is contained in:
@ -177,3 +177,6 @@ func (ctx *TestContext) SetLastError(err error) {
|
||||
func (ctx *TestContext) GetLastError() error {
|
||||
return ctx.lastError
|
||||
}
|
||||
|
||||
func (ctx *TestContext) MessagePreparationStarted() { ctx.pmapiController.LockEvents() }
|
||||
func (ctx *TestContext) MessagePreparationFinished() { ctx.pmapiController.UnlockEvents() }
|
||||
|
||||
Reference in New Issue
Block a user