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

Method createDatabase

tools/sql/clitest/version_tests.go:113–122  ·  view source on GitHub ↗
(database string)

Source from the content-addressed store, hash-verified

111}
112
113func (s *VersionTestSuite) createDatabase(database string) func() {
114 connection, err := newTestConn("", s.host, s.port, s.pluginName)
115 s.NoError(err)
116 err = connection.CreateDatabase(database)
117 s.NoError(err)
118 return func() {
119 s.NoError(connection.DropDatabase(database))
120 connection.Close()
121 }
122}

Callers 1

Calls 5

newTestConnFunction · 0.85
NoErrorMethod · 0.80
CreateDatabaseMethod · 0.65
DropDatabaseMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected