Skip to content

Commit 5ad6df9

Browse files
authored
Fix flaky test_csv_to_json in Beam YAML SDK (#38617)
1 parent 551a5a0 commit 5ad6df9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"comment": "Modify this file in a trivial way to cause this test suite to run",
3-
"revision": 3
3+
"revision": 4
44
}

sdks/python/apache_beam/yaml/yaml_transform_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def test_csv_to_json(self):
287287
output_shard = all_output[0]
288288
result = pd.read_json(
289289
output_shard, orient='records',
290-
lines=True).sort_values('rank').reindex()
290+
lines=True).sort_values('rank').reset_index(drop=True)
291291
pd.testing.assert_frame_equal(data, result)
292292

293293
def test_circular_reference_validation(self):

0 commit comments

Comments
 (0)