MCPcopy Create free account
hub / github.com/apache/devlake / ConnectLocalServer

Function ConnectLocalServer

backend/test/e2e/remote/helper.go:87–93  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

85)
86
87func ConnectLocalServer(t *testing.T) *helper.DevlakeClient {
88 fmt.Println("Connect to server")
89 client := helper.StartDevLakeServer(t, nil)
90 client.SetTimeout(0 * time.Second)
91 client.SetPipelineTimeout(0 * time.Second)
92 return client
93}
94
95func CreateClient(t *testing.T) *helper.DevlakeClient {
96 path := filepath.Join(helper.ProjectRoot, FAKE_PLUGIN_DIR)

Callers 1

CreateClientFunction · 0.70

Calls 2

SetPipelineTimeoutMethod · 0.80
SetTimeoutMethod · 0.45

Tested by

no test coverage detected