1
// Copyright 2015 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
4
package remotestate_test
11
"github.com/juju/juju/testing"
14
func assertNoNotifyEvent(c *gc.C, ch <-chan struct{}, event string) {
17
c.Fatalf("unexpected " + event)
18
case <-time.After(testing.ShortWait):
22
func assertNotifyEvent(c *gc.C, ch <-chan struct{}, activity string) {
25
case <-time.After(testing.LongWait):
26
c.Fatalf("timed out " + activity)