Skip to content

[YDB#835] [#537] [V7.0-001] [GTM-8681] Add v70001/gtm8681 test to verify MUPIP BACKUP -RECORD stores the time of start when it completes successfully

Steven Estes requested to merge estess/YDBTest:gtm8681 into master

Most of the validation in this test happens in the M environment in gtm8681.m. Here's the test description from the comments in the gtm8681.m description:

Methodology:

  1. Verify recorded backup time is 0.
  2. Record start time with $ZUT (converted to seconds).
  3. Run MUPIP BACKUP -RECORD
  4. Record end time with $ZUT (converted to seconds)
  5. Fetch the recorded backup time via $$^PEEKBYNAME()
  6. Verify the recorded backup time falls between the times in steps 2 and 4.
  7. Verify the value extracted via ^%PEEKBYNAME of sgmnt_data.last_start_backup is the same as the date returned.
  8. Part 2 - start with a fresh DB, force a backup to fail using WBTEST_BACKUP_FORCE_MV_RV white box test and then verify the last_start_backup field was not modified (from 'Never').
Edited by Steven Estes

Merge request reports