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

Method TestPoolPost

service/client_test.go:70–74  ·  view source on GitHub ↗
(payload api.PoolPostRequest)

Source from the content-addressed store, hash-verified

68}
69
70func (c *testClient) TestPoolPost(payload api.PoolPostRequest) ksuid.KSUID {
71 r, err := c.Connection.CreatePool(c.Context(), payload)
72 require.NoError(c, err)
73 return r.Pool.ID
74}
75
76func (c *testClient) TestBranchPost(poolID ksuid.KSUID, payload api.BranchPostRequest) branches.Config {
77 r, err := c.Connection.CreateBranch(c.Context(), poolID, payload)

Callers 12

TestQueryFunction · 0.80
TestQueryEmptyPoolFunction · 0.80
TestPoolStatsFunction · 0.80
TestPoolStatsNoDataFunction · 0.80
TestPoolPostNameOnlyFunction · 0.80
TestPoolInvalidNameFunction · 0.80
TestPoolPutDuplicateNameFunction · 0.80
TestPoolPutFunction · 0.80
TestPoolRemoteFunction · 0.80
TestEventsHandlerFunction · 0.80

Calls 2

ContextMethod · 0.80
CreatePoolMethod · 0.65

Tested by

no test coverage detected