diff options
Diffstat (limited to 'cloud/pkg/cloudhub/common/testing/test_framework.go')
| -rw-r--r-- | cloud/pkg/cloudhub/common/testing/test_framework.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cloud/pkg/cloudhub/common/testing/test_framework.go b/cloud/pkg/cloudhub/common/testing/test_framework.go index ea78779f2..3e24e09af 100644 --- a/cloud/pkg/cloudhub/common/testing/test_framework.go +++ b/cloud/pkg/cloudhub/common/testing/test_framework.go @@ -81,12 +81,12 @@ var ErrVersionConflict = errors.New("VersionError") // ObjectSyncReactor is a core.Reactor that simulates etcd and API server. It // stores: -// - Latest version of objectSyncs saved by the session. -// - Optionally, list of error that should be returned by reactor, simulating -// etcd / API server failures. These errors are evaluated in order and every -// error is returned only once. I.e. when the reactor finds matching -// ReactorError, it return appropriate error and removes the ReactorError from -// the list. +// - Latest version of objectSyncs saved by the session. +// - Optionally, list of error that should be returned by reactor, simulating +// etcd / API server failures. These errors are evaluated in order and every +// error is returned only once. I.e. when the reactor finds matching +// ReactorError, it return appropriate error and removes the ReactorError from +// the list. type ObjectSyncReactor struct { objectSyncs map[string]*v1alpha1.ObjectSync lock sync.RWMutex |
