Implement lab 3 level 4 failover and idempotency

This commit is contained in:
2026-10-29 23:35:04 +03:00
parent 0ab3a341aa
commit a2cb1ad2ae
338 changed files with 37821 additions and 22 deletions
@@ -0,0 +1,24 @@
=== RUN TestConnectionSecretErrorsAreSafe
=== RUN TestConnectionSecretErrorsAreSafe/missing
=== RUN TestConnectionSecretErrorsAreSafe/empty
=== RUN TestConnectionSecretErrorsAreSafe/malformed
--- PASS: TestConnectionSecretErrorsAreSafe (0.00s)
--- PASS: TestConnectionSecretErrorsAreSafe/missing (0.00s)
--- PASS: TestConnectionSecretErrorsAreSafe/empty (0.00s)
--- PASS: TestConnectionSecretErrorsAreSafe/malformed (0.00s)
=== RUN TestEmbeddedMigrationsAreVersionedAndCollectable
--- PASS: TestEmbeddedMigrationsAreVersionedAndCollectable (0.00s)
=== RUN TestUnlockHasBudgetEvenWithDetachedContext
--- PASS: TestUnlockHasBudgetEvenWithDetachedContext (0.00s)
=== RUN TestPostgresMigrationsRepeatWithoutChangingDataOrLoggingSQL
postgres_test.go:116: cannot insert persistent migration fixture
--- FAIL: TestPostgresMigrationsRepeatWithoutChangingDataOrLoggingSQL (0.13s)
=== RUN TestPostgresConcurrentMigratorsApplyEachVersionOnce
postgres_test.go:171: concurrent runners applied 0 migrations in total, want 2
--- FAIL: TestPostgresConcurrentMigratorsApplyEachVersionOnce (0.04s)
=== RUN TestPostgresMigrationFailureRollsBackAndPreservesCause
postgres_test.go:189: migration failure did not retain a safely reportable duplicate-table error
--- FAIL: TestPostgresMigrationFailureRollsBackAndPreservesCause (0.04s)
FAIL
FAIL highload/cmd/migrate 1.896s
FAIL