From 2263393626a894c267a2524c18a67bc6c65d90e0 Mon Sep 17 00:00:00 2001
From: Nyall Dawson <nyall.dawson@gmail.com>
Date: Mon, 16 Dec 2024 13:49:05 +1000
Subject: [PATCH] Disable broken test for automatic transaction groups

This functionality is broken on newer GDAL versions, due
to incorrect assumptions at time of development.

See https://github.com/qgis/QGIS/pull/59797#issuecomment-2544133498

Parties interested in seeing this test resurrected are welcome
to submit fixes.
---
 tests/src/python/test_qgsvectorlayereditbuffer.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/src/python/test_qgsvectorlayereditbuffer.py b/tests/src/python/test_qgsvectorlayereditbuffer.py
index 9944664d98aac..a00399d458e35 100644
--- a/tests/src/python/test_qgsvectorlayereditbuffer.py
+++ b/tests/src/python/test_qgsvectorlayereditbuffer.py
@@ -843,7 +843,11 @@ def _check_feature(wkt):
                 self.assertEqual(f.attribute(2), None)
 
         _test(Qgis.TransactionMode.Disabled)
-        _test(Qgis.TransactionMode.AutomaticGroups)
+
+        # THIS FUNCTIONALITY IS BROKEN ON NEWER GDAL VERSIONS, DUE TO INCORRECT
+        # assumptions at time of development. See https://github.com/qgis/QGIS/pull/59797#issuecomment-2544133498
+        # _test(Qgis.TransactionMode.AutomaticGroups)
+
         _test(Qgis.TransactionMode.BufferedGroups)