From 02427a25d291f3aba8fcaa95e577bb32c9c32179 Mon Sep 17 00:00:00 2001 From: Alexander Taepper Date: Wed, 9 Aug 2023 15:41:43 +0200 Subject: [PATCH] fix: deterministic order for e2e test --- endToEndTests/test/queries/fastaAligned.json | 227 ++++++++++--------- 1 file changed, 114 insertions(+), 113 deletions(-) diff --git a/endToEndTests/test/queries/fastaAligned.json b/endToEndTests/test/queries/fastaAligned.json index 1377f98d4..5ad58f621 100644 --- a/endToEndTests/test/queries/fastaAligned.json +++ b/endToEndTests/test/queries/fastaAligned.json @@ -3,7 +3,8 @@ "query": { "action": { "type": "FastaAligned", - "sequenceName": "testSecondSequence" + "sequenceName": "testSecondSequence", + "orderByFields": ["gisaid_epi_isl"] }, "filterExpression": { "type": "True" @@ -11,68 +12,60 @@ }, "expectedQueryResult": [ { - "gisaid_epi_isl": "EPI_ISL_3247294", + "gisaid_epi_isl": "EPI_ISL_1001493", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_466942", + "gisaid_epi_isl": "EPI_ISL_1001920", "testSecondSequence": "ACGT" }, - { - "gisaid_epi_isl": "EPI_ISL_2367431", - "testSecondSequence": "NCGT" - }, { "gisaid_epi_isl": "EPI_ISL_1002052", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_931279", - "testSecondSequence": "ACGT" - }, - { - "gisaid_epi_isl": "EPI_ISL_1119584", + "gisaid_epi_isl": "EPI_ISL_1002156", "testSecondSequence": "ACGN" }, { - "gisaid_epi_isl": "EPI_ISL_737604", + "gisaid_epi_isl": "EPI_ISL_1003010", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2086867", + "gisaid_epi_isl": "EPI_ISL_1003036", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1750868", + "gisaid_epi_isl": "EPI_ISL_1003373", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2359636", + "gisaid_epi_isl": "EPI_ISL_1003425", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3578231", + "gisaid_epi_isl": "EPI_ISL_1003519", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1599113", + "gisaid_epi_isl": "EPI_ISL_1003629", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1003629", + "gisaid_epi_isl": "EPI_ISL_1003849", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1407962", + "gisaid_epi_isl": "EPI_ISL_1004495", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1129663", + "gisaid_epi_isl": "EPI_ISL_1005148", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1273458", - "testSecondSequence": "ANGT" + "gisaid_epi_isl": "EPI_ISL_1036103", + "testSecondSequence": "ACGT" }, { "gisaid_epi_isl": "EPI_ISL_1080536", @@ -83,27 +76,35 @@ "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1195052", + "gisaid_epi_isl": "EPI_ISL_1119584", + "testSecondSequence": "ACGN" + }, + { + "gisaid_epi_isl": "EPI_ISL_1129663", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1748243", + "gisaid_epi_isl": "EPI_ISL_1130868", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1408062", + "gisaid_epi_isl": "EPI_ISL_1131102", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1748215", + "gisaid_epi_isl": "EPI_ISL_1195052", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1747752", + "gisaid_epi_isl": "EPI_ISL_1260480", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1361468", + "gisaid_epi_isl": "EPI_ISL_1273458", + "testSecondSequence": "ANGT" + }, + { + "gisaid_epi_isl": "EPI_ISL_1273715", "testSecondSequence": "ACGT" }, { @@ -111,155 +112,155 @@ "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1747885", + "gisaid_epi_isl": "EPI_ISL_1361468", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2270139", + "gisaid_epi_isl": "EPI_ISL_1407962", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1408408", + "gisaid_epi_isl": "EPI_ISL_1408062", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1597932", + "gisaid_epi_isl": "EPI_ISL_1408408", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1597890", + "gisaid_epi_isl": "EPI_ISL_1408805", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1748395", + "gisaid_epi_isl": "EPI_ISL_1597890", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1760534", + "gisaid_epi_isl": "EPI_ISL_1597932", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1749899", - "testSecondSequence": "AAGN" + "gisaid_epi_isl": "EPI_ISL_1599113", + "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1749892", + "gisaid_epi_isl": "EPI_ISL_1682849", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1749960", + "gisaid_epi_isl": "EPI_ISL_1747752", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2017036", - "testSecondSequence": "ANGT" + "gisaid_epi_isl": "EPI_ISL_1747885", + "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2016901", + "gisaid_epi_isl": "EPI_ISL_1748215", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2019350", + "gisaid_epi_isl": "EPI_ISL_1748243", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2019235", + "gisaid_epi_isl": "EPI_ISL_1748395", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2181005", + "gisaid_epi_isl": "EPI_ISL_1749892", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2308054", - "testSecondSequence": "ACGT" + "gisaid_epi_isl": "EPI_ISL_1749899", + "testSecondSequence": "AAGN" }, { - "gisaid_epi_isl": "EPI_ISL_2213984", + "gisaid_epi_isl": "EPI_ISL_1749960", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2307888", + "gisaid_epi_isl": "EPI_ISL_1750503", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2180995", + "gisaid_epi_isl": "EPI_ISL_1750868", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2214128", + "gisaid_epi_isl": "EPI_ISL_1760534", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2375490", - "testSecondSequence": "ACGT" + "gisaid_epi_isl": "EPI_ISL_1840634", + "testSecondSequence": "ACGN" }, { - "gisaid_epi_isl": "EPI_ISL_2307766", + "gisaid_epi_isl": "EPI_ISL_2016901", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2379651", - "testSecondSequence": "ACGT" + "gisaid_epi_isl": "EPI_ISL_2017036", + "testSecondSequence": "ANGT" }, { - "gisaid_epi_isl": "EPI_ISL_2180023", + "gisaid_epi_isl": "EPI_ISL_2019235", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2213934", + "gisaid_epi_isl": "EPI_ISL_2019350", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2375247", + "gisaid_epi_isl": "EPI_ISL_2086867", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2375097", + "gisaid_epi_isl": "EPI_ISL_2180023", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2374969", + "gisaid_epi_isl": "EPI_ISL_2180995", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2375165", + "gisaid_epi_isl": "EPI_ISL_2181005", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2405276", + "gisaid_epi_isl": "EPI_ISL_2213804", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2408472", - "testSecondSequence": "AGGT" + "gisaid_epi_isl": "EPI_ISL_2213934", + "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2544452", + "gisaid_epi_isl": "EPI_ISL_2213984", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2544332", + "gisaid_epi_isl": "EPI_ISL_2214128", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2544226", + "gisaid_epi_isl": "EPI_ISL_2270139", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2574088", + "gisaid_epi_isl": "EPI_ISL_2307766", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3016465", + "gisaid_epi_isl": "EPI_ISL_2307888", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1840634", - "testSecondSequence": "ACGN" + "gisaid_epi_isl": "EPI_ISL_2308054", + "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_2213804", + "gisaid_epi_isl": "EPI_ISL_2359636", "testSecondSequence": "ACGT" }, { @@ -267,147 +268,147 @@ "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_721941", - "testSecondSequence": "ACGT" + "gisaid_epi_isl": "EPI_ISL_2367431", + "testSecondSequence": "NCGT" }, { - "gisaid_epi_isl": "EPI_ISL_581968", + "gisaid_epi_isl": "EPI_ISL_2374969", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_737860", + "gisaid_epi_isl": "EPI_ISL_2375097", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1260480", + "gisaid_epi_isl": "EPI_ISL_2375165", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1273715", + "gisaid_epi_isl": "EPI_ISL_2375247", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1003849", + "gisaid_epi_isl": "EPI_ISL_2375490", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1131102", + "gisaid_epi_isl": "EPI_ISL_2379651", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1003519", + "gisaid_epi_isl": "EPI_ISL_2405276", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_830864", - "testSecondSequence": "ACGT" + "gisaid_epi_isl": "EPI_ISL_2408472", + "testSecondSequence": "AGGT" }, { - "gisaid_epi_isl": "EPI_ISL_931031", + "gisaid_epi_isl": "EPI_ISL_2544226", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_737715", + "gisaid_epi_isl": "EPI_ISL_2544332", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_899762", + "gisaid_epi_isl": "EPI_ISL_2544452", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_899725", + "gisaid_epi_isl": "EPI_ISL_2574088", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1003036", + "gisaid_epi_isl": "EPI_ISL_3016465", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1003373", + "gisaid_epi_isl": "EPI_ISL_3086369", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1003425", + "gisaid_epi_isl": "EPI_ISL_3128737", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1001920", + "gisaid_epi_isl": "EPI_ISL_3128796", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1004495", + "gisaid_epi_isl": "EPI_ISL_3128811", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1001493", + "gisaid_epi_isl": "EPI_ISL_3247294", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1005148", + "gisaid_epi_isl": "EPI_ISL_3259931", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1408805", + "gisaid_epi_isl": "EPI_ISL_3267832", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1002156", - "testSecondSequence": "ACGN" + "gisaid_epi_isl": "EPI_ISL_3465556", + "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1036103", + "gisaid_epi_isl": "EPI_ISL_3465732", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1750503", + "gisaid_epi_isl": "EPI_ISL_3578231", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1003010", + "gisaid_epi_isl": "EPI_ISL_466942", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1130868", + "gisaid_epi_isl": "EPI_ISL_581968", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3128811", + "gisaid_epi_isl": "EPI_ISL_721941", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3128796", + "gisaid_epi_isl": "EPI_ISL_737604", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3086369", + "gisaid_epi_isl": "EPI_ISL_737715", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3259931", + "gisaid_epi_isl": "EPI_ISL_737860", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3267832", + "gisaid_epi_isl": "EPI_ISL_768148", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3465556", + "gisaid_epi_isl": "EPI_ISL_830864", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3465732", + "gisaid_epi_isl": "EPI_ISL_899725", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_3128737", + "gisaid_epi_isl": "EPI_ISL_899762", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_1682849", + "gisaid_epi_isl": "EPI_ISL_931031", "testSecondSequence": "ACGT" }, { - "gisaid_epi_isl": "EPI_ISL_768148", + "gisaid_epi_isl": "EPI_ISL_931279", "testSecondSequence": "ACGT" } ]