MCPcopy Create free account
hub / github.com/temporalio/temporal / TestMySQLTaskQueueTaskSuite

Function TestMySQLTaskQueueTaskSuite

common/persistence/tests/mysql_test.go:138–150  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

136}
137
138func TestMySQLTaskQueueTaskSuite(t *testing.T) {
139 t.Parallel()
140 testData, tearDown := setUpMySQLTest(t)
141 defer tearDown()
142
143 taskQueueStore, err := testData.Factory.NewTaskStore()
144 if err != nil {
145 t.Fatalf("unable to create MySQL DB: %v", err)
146 }
147
148 s := NewTaskQueueTaskSuite(t, taskQueueStore, testData.Logger)
149 suite.Run(t, s)
150}
151
152func TestMySQLTaskQueueFairTaskSuite(t *testing.T) {
153 t.Parallel()

Callers

nothing calls this directly

Calls 5

setUpMySQLTestFunction · 0.85
NewTaskQueueTaskSuiteFunction · 0.85
NewTaskStoreMethod · 0.65
FatalfMethod · 0.65
RunMethod · 0.65

Tested by

no test coverage detected