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 */


This section is empty.


func AssertTrueEventually

func AssertTrueEventually(t *testing.T, assertions func() bool)

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 Read

func Read(filename string) (string, error)

func WaitTimeout

func WaitTimeout(wg *sync.WaitGroup, timeout time.Duration) bool


type NonSerializable

type NonSerializable struct {
	// contains filtered or unexported fields

Source Files