From 77f0b87e8bcdeefa5ab117bd15b6b43f506d365e Mon Sep 17 00:00:00 2001 From: Noa Aviel Dove Date: Fri, 26 May 2023 15:27:18 -0700 Subject: [PATCH] fixup! Fix: IT fails in anvilprod due to multiple values for is_supplementary (#5229) --- test/integration_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration_test.py b/test/integration_test.py index df540ad4bc..f56b1f5de5 100644 --- a/test/integration_test.py +++ b/test/integration_test.py @@ -957,6 +957,12 @@ def _get_indexed_bundles(self, version=bundle['bundleVersion'] ) if config.is_anvil_enabled(catalog): + # Biosamples are used as bundle entities for primary bundles + # and are never present in supplementary bundles. + # We cannot use the `files.is_supplementary` field to + # determine whether a bundle is supplementary or not due to + # false positives in the current snapshots + # (https://github.com/DataBiosphere/azul/issues/5229) bundle_fqid['entity_type'] = ( BundleEntityType.primary.value if hit['biosamples'] else