(t *testing.T, env *testenv.CLITest)
| 198 | } |
| 199 | |
| 200 | func lockRepositoryForUpgrade(t *testing.T, env *testenv.CLITest) { |
| 201 | t.Helper() |
| 202 | |
| 203 | t.Log("Placing upgrade lock ...") |
| 204 | env.RunAndExpectSuccess(t, "repository", "upgrade", "begin", |
| 205 | "--upgrade-owner-id", "owner", |
| 206 | "--io-drain-timeout", "30s", "--allow-unsafe-upgrade", |
| 207 | "--status-poll-interval", "1s", "--lock-only", |
| 208 | "--max-permitted-clock-drift", "1s") |
| 209 | } |
| 210 | |
| 211 | func (s *formatSpecificTestSuite) TestRepositoryUpgradeStatusWhileLocked(t *testing.T) { |
| 212 | t.Parallel() |
no test coverage detected