Skip a flaky test for analytics product refund (#60744)

* Skip flaky test

* Add changelog
This commit is contained in:
louwie17 2025-09-03 19:03:58 +02:00 committed by GitHub
parent 8d664bd452
commit 587fb68a20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
Significance: patch
Type: tweak
Comment: Skip a flaky test for core analytics sync order product refunds

View file

@ -811,6 +811,7 @@ class WC_Admin_Tests_Reports_Products extends WC_Unit_Test_Case {
* The refund type will be full but there will not be refund order line items.
*/
public function test_sync_order_products_refund_one_product_then_full_refund() {
$this->markTestSkipped( 'Mark flaky test for revisit as first assertion occasionally fails with null value.' );
global $wpdb;
WC_Helper_Reports::reset_stats_dbs();