From 8d3fdeeb8dbd8dc68284c1d33b0b431d309b4f5b Mon Sep 17 00:00:00 2001 From: ashmrtn <3891298+ashmrtn@users.noreply.github.com> Date: Fri, 18 Aug 2023 09:09:08 -0700 Subject: [PATCH] Remove call to PITR backup check (#4067) Currently failing due to minor upstream bugs. Disable until we can get upstream fixes in. Revert this merge once upstream issues are fixed --- #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [ ] :robot: Supportability/Tests - [x] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup #### Issue(s) * #4031 #### Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- src/cmd/longevity_test/longevity.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/cmd/longevity_test/longevity.go b/src/cmd/longevity_test/longevity.go index b3d6f865d..efe3bd352 100644 --- a/src/cmd/longevity_test/longevity.go +++ b/src/cmd/longevity_test/longevity.go @@ -67,6 +67,9 @@ func deleteBackups( // pitrListBackups connects to the repository at the given point in time and // lists the backups for service. It then checks the list of backups contains // the backups in backupIDs. +// +//nolint:unused +//lint:ignore U1000 Waiting for upstream fix tracked by 4031 func pitrListBackups( ctx context.Context, service path.ServiceType, @@ -156,16 +159,10 @@ func main() { fatal(ctx, "invalid number of days provided", nil) } - beforeDel := time.Now() - - backups, err := deleteBackups(ctx, service, days) + _, err = deleteBackups(ctx, service, days) if err != nil { fatal(ctx, "deleting backups", clues.Stack(err)) } - - if err := pitrListBackups(ctx, service, beforeDel, backups); err != nil { - fatal(ctx, "listing backups from point in time", clues.Stack(err)) - } } func fatal(ctx context.Context, msg string, err error) {