Skip to content
Permalink
Browse files
8267621: Mark HonorDeveloperSettingsTest as unstable on Linux
Reviewed-by: kcr
  • Loading branch information
arapte committed May 24, 2021
1 parent 24ffe35 commit 329013b321d0f95a26aa70c36b0702dc90e2f56f
Showing with 11 additions and 0 deletions.
  1. +11 −0 modules/javafx.graphics/src/test/java/test/javafx/css/HonorDeveloperSettingsTest.java
@@ -28,6 +28,7 @@
import static org.junit.Assert.*;

import com.sun.javafx.css.StyleManager;
import com.sun.javafx.PlatformUtil;

import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
@@ -44,9 +45,12 @@
import com.sun.javafx.util.Logging;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import com.sun.javafx.logging.PlatformLogger;

import static org.junit.Assume.assumeTrue;

/**
* AKA: RT-7401. Tests that the pattern used works by testing opacity
* specifically. Tests for font and text-fill should be done in the tests
@@ -68,6 +72,13 @@ private void resetStyleManager() {
sm.hasDefaultUserAgentStylesheet = false;
}

@BeforeClass
public static void setUpClass() {
if (PlatformUtil.isUnix()) {
assumeTrue(Boolean.getBoolean("unstable.test")); // JDK-8267425
}
}

@After
public void cleanup() {
resetStyleManager();

1 comment on commit 329013b

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 329013b May 24, 2021

Please sign in to comment.