Commit 2f7b6933 authored by norvell's avatar norvell
Browse files

Merge branch 'ci/mld-for-masa-ext' into 'main'

[BASOP CI] Ignore metadata difference if get_mld is set and get_mld_lim is >0

See merge request !1367
parents 3e09693e ed2a5279
Loading
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -211,6 +211,10 @@ def test_masa_enc_dec(
                    mld = float(reason.split(':')[1].split()[0])
                record_property("MLD",mld)

            if get_mld and get_mld_lim > 0:
                if pcmcmp_res != 0:
                    pytest.fail(reason)                
            else:
                # Fail if compare fails compare result
                if metacmp_res == False and pcmcmp_res != 0:
                    pytest.fail("Metadata and transport output difference detected")