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

Function CreateClient

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

Source from the content-addressed store, hash-verified

93}
94
95func CreateClient(t *testing.T) *helper.DevlakeClient {
96 path := filepath.Join(helper.ProjectRoot, FAKE_PLUGIN_DIR)
97 _ = os.Setenv("REMOTE_PLUGIN_DIR", path)
98 client := ConnectLocalServer(t)
99 client.AwaitPluginAvailability(PLUGIN_NAME, 60*time.Second)
100 return client
101}
102
103func CreateTestConnection(client *helper.DevlakeClient) *helper.Connection {
104 connection := client.CreateConnection(PLUGIN_NAME,

Calls 2

ConnectLocalServerFunction · 0.70