Documentation ¶
Index ¶
- Constants
- func AssertAlwaysTrueFor(t *testing.T, duration time.Duration, assertions func() bool)
- func AssertTrueEventually(t *testing.T, assertions func() bool)
- func CreateClientAndCluster(controller *rc.RemoteControllerClient) (hazelcast.Client, func())
- func CreateClientAndClusterWithConfig(controller *rc.RemoteControllerClient, cfg *config.Config) (hazelcast.Client, func())
- func CreateClientAndClusterWithMembers(controller *rc.RemoteControllerClient, memberAmount int) (hazelcast.Client, func())
- func CreateCluster(controller *rc.RemoteControllerClient) func()
- func NewNonDeserializableData() serialization.Data
- func NewNonDeserializableDataSlice() []serialization.Data
- func NewNonSerializableObject() interface{}
- func NewNonSerializableObjectSlice() []interface{}
- func NewSerializableData() serialization.Data
- func RandomString() string
- func Read(filename string) (string, error)
- func WaitTimeout(wg *sync.WaitGroup, timeout time.Duration) bool
- type NonSerializable
Constants ¶
View Source
const ( // Timeout is timeout for tests with waitgroup. Timeout = 1 * time.Minute // TimeoutShort is the timeout for tests with waitgroup that should timeout. TimeoutShort = Timeout / 20 )
View Source
const DefaultServerConfig = `` /* 2302-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func AssertAlwaysTrueFor ¶
func AssertTrueEventually ¶
func CreateClientAndCluster ¶
func CreateClientAndCluster(controller *rc.RemoteControllerClient) (hazelcast.Client, func())
func CreateClientAndClusterWithConfig ¶
func CreateClientAndClusterWithConfig(controller *rc.RemoteControllerClient, cfg *config.Config) (hazelcast.Client, func())
func CreateClientAndClusterWithMembers ¶
func CreateClientAndClusterWithMembers(controller *rc.RemoteControllerClient, memberAmount int) (hazelcast.Client, func())
func CreateCluster ¶
func CreateCluster(controller *rc.RemoteControllerClient) func()
func NewNonDeserializableData ¶
func NewNonDeserializableData() serialization.Data
func NewNonDeserializableDataSlice ¶
func NewNonDeserializableDataSlice() []serialization.Data
func NewNonSerializableObject ¶
func NewNonSerializableObject() interface{}
func NewNonSerializableObjectSlice ¶
func NewNonSerializableObjectSlice() []interface{}
func NewSerializableData ¶
func NewSerializableData() serialization.Data
func RandomString ¶
func RandomString() string
Types ¶
type NonSerializable ¶
type NonSerializable struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.