()
| 1351 | } |
| 1352 | |
| 1353 | func initBenchmarkDatabase() error { |
| 1354 | schema.ClearManager() |
| 1355 | manager := schema.GetManager() |
| 1356 | manager.LoadSchemasFromFiles("../tests/test_abstract_schema.yaml", "../tests/test_schema.yaml", "../etc/schema/gohan.json") |
| 1357 | return db.InitDBWithSchemas("mysql", "root@tcp(localhost:3306)/gohan_test", db.DefaultTestInitDBParams()) |
| 1358 | } |
| 1359 | |
| 1360 | func startTestServer(config string) error { |
| 1361 | var err error |
no test coverage detected