forked from mtusi2026/mtusi2026lab3
feat: API replicas over HAProxy (3)
This commit is contained in:
@@ -21,9 +21,6 @@ func newStore(t *testing.T) (*postgres.Store, *pgxpool.Pool) {
|
||||
if dbURL == "" {
|
||||
t.Skip("TEST_DATABASE_URL is required")
|
||||
}
|
||||
if err := postgres.Migrate(dbURL); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
pool, err := postgres.NewPool(context.Background(), dbURL)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user