diff --git a/test/test_data_handling/test_bootstraps.py b/test/test_data_handling/test_bootstraps.py
index c2b814b7bf173b61b4967c83611cdd3de08ed91b..7cd893eebb7a90ebea616872e8cea04599a3c20f 100644
--- a/test/test_data_handling/test_bootstraps.py
+++ b/test/test_data_handling/test_bootstraps.py
@@ -97,7 +97,7 @@ class TestCreateShuffledData:
         assert shuffled_data_clean.create_shuffled_data() is None
         assert caplog.record_tuples[0] == ('root', logging.INFO, "create / check shuffled bootstrap data")
         assert caplog.record_tuples[1] == ('root', logging.INFO, "create bootstap data for DEBW107")
-        assert caplog.record_tuples[5] == ('root', logging.INFO, "create bootstap data for DEBW013")
+        assert caplog.record_tuples[3] == ('root', logging.INFO, "create bootstap data for DEBW013")
         assert "DEBW107_o3_temp_hist7_nboots20_shuffled.nc" in os.listdir(data_path)
         assert "DEBW013_o3_temp_hist7_nboots20_shuffled.nc" in os.listdir(data_path)