Skip to content

Commit 6077034

Browse files
authored
Sort output before comparison in enrichment test (#36143)
1 parent aa42205 commit 6077034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdks/python/apache_beam/examples/snippets/transforms/elementwise/enrichment_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_enrichment_with_vertex_ai_legacy(self, mock_stdout):
141141
output = mock_stdout.getvalue().splitlines()
142142
expected = validate_enrichment_with_vertex_ai_legacy()
143143
self.maxDiff = None
144-
self.assertEqual(output, expected)
144+
self.assertEqual(sorted(output), sorted(expected))
145145

146146
@unittest.skipUnless(
147147
os.environ.get('ALLOYDB_PASSWORD'),

0 commit comments

Comments
 (0)