Documentation ¶
Index ¶
- Constants
- func EnhanceWithDefaultEnvs(t *testing.T)
- func GetUserId(provider string) string
- func JobsDB(t testing.TB, port int) *sql.DB
- func RandSchema(provider string) string
- func VerifyConfigurationTest(t testing.TB, destination backendconfig.DestinationT)
- func WithConstantRetries(operation func() error) error
- type EventsCountMap
- type TestConfig
Constants ¶
View Source
const ( WaitFor2Minute = 2 * time.Minute WaitFor10Minute = 10 * time.Minute DefaultQueryFrequency = 100 * time.Millisecond AsyncJOBQueryFrequency = 1000 * time.Millisecond )
Variables ¶
This section is empty.
Functions ¶
func EnhanceWithDefaultEnvs ¶ added in v1.9.0
func RandSchema ¶ added in v1.9.0
func VerifyConfigurationTest ¶
func VerifyConfigurationTest(t testing.TB, destination backendconfig.DestinationT)
func WithConstantRetries ¶ added in v1.8.0
Types ¶
type EventsCountMap ¶
func SourcesLoadFilesEventsMap ¶
func SourcesLoadFilesEventsMap() EventsCountMap
func SourcesStagingFilesEventsMap ¶
func SourcesStagingFilesEventsMap() EventsCountMap
func SourcesTableUploadsEventsMap ¶
func SourcesTableUploadsEventsMap() EventsCountMap
func SourcesWarehouseEventsMap ¶
func SourcesWarehouseEventsMap() EventsCountMap
type TestConfig ¶ added in v1.9.0
type TestConfig struct { WriteKey string Schema string UserID string WorkspaceID string JobRunID string TaskRunID string SourceID string DestinationID string DestinationType string Tables []string Client *warehouseclient.Client TimestampBeforeSendingEvents time.Time Config map[string]interface{} StagingFilePath string StagingFilesEventsMap EventsCountMap LoadFilesEventsMap EventsCountMap TableUploadsEventsMap EventsCountMap WarehouseEventsMap EventsCountMap JobsDB *sql.DB AsyncJob bool SkipWarehouse bool HTTPPort int }
func (*TestConfig) VerifyEvents ¶ added in v1.9.0
func (w *TestConfig) VerifyEvents(t testing.TB)
Click to show internal directories.
Click to hide internal directories.