You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by xq...@apache.org on 2025/09/14 01:39:05 UTC
(beam) branch master updated: Sort output before comparison in enrichment test (#36143)
This is an automated email from the ASF dual-hosted git repository.
xqhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 6077034b733 Sort output before comparison in enrichment test (#36143)
6077034b733 is described below
commit 6077034b7337283fc2f2467c6455ef7b308379c8
Author: liferoad <hu...@gmail.com>
AuthorDate: Sat Sep 13 21:38:58 2025 -0400
Sort output before comparison in enrichment test (#36143)
---
.../examples/snippets/transforms/elementwise/enrichment_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/python/apache_beam/examples/snippets/transforms/elementwise/enrichment_test.py b/sdks/python/apache_beam/examples/snippets/transforms/elementwise/enrichment_test.py
index 770b75351bd..5a64d2667f2 100644
--- a/sdks/python/apache_beam/examples/snippets/transforms/elementwise/enrichment_test.py
+++ b/sdks/python/apache_beam/examples/snippets/transforms/elementwise/enrichment_test.py
@@ -141,7 +141,7 @@ class EnrichmentTest(unittest.TestCase):
output = mock_stdout.getvalue().splitlines()
expected = validate_enrichment_with_vertex_ai_legacy()
self.maxDiff = None
- self.assertEqual(output, expected)
+ self.assertEqual(sorted(output), sorted(expected))
@unittest.skipUnless(
os.environ.get('ALLOYDB_PASSWORD'),