MCPcopy Create free account
hub / github.com/brimdata/super / TestLoad

Method TestLoad

service/client_test.go:94–98  ·  view source on GitHub ↗
(poolID ksuid.KSUID, branchName string, r io.Reader)

Source from the content-addressed store, hash-verified

92}
93
94func (c *testClient) TestLoad(poolID ksuid.KSUID, branchName string, r io.Reader) ksuid.KSUID {
95 commit, err := c.Connection.Load(c.Context(), poolID, branchName, "", r, api.CommitMessage{})
96 require.NoError(c, err)
97 return commit.Commit
98}
99
100func (c *testClient) TestAuthMethod() api.AuthMethodResponse {
101 r, err := c.Connection.AuthMethod(c.Context())

Callers 4

TestQueryFunction · 0.80
TestPoolStatsFunction · 0.80
TestEventsHandlerFunction · 0.80

Calls 2

ContextMethod · 0.80
LoadMethod · 0.65

Tested by

no test coverage detected