Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-6225

test-framework does not cleanup the env for failed tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Lustre 2.8.0
    • Lustre 2.5.3, Lustre 2.8.0
    • None
    • 3
    • Test Infrastructure
    • 17420

      if a test fails with an error, we just exit:

      error() {
      	error_noexit "$@"
      	exit 1
      }
      

      and therefore the end of run_one() does not execute, what means we do not cleanup the env settings (e.g. fail_loc) before running the next test.

            wc-triage WC Triage
            gaurav_mahajan gaurav mahajan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: