Skip to content

Commit 23f084a

Browse files
committed
Skip integration tests using ujson on Windows for now
1 parent e7e2d11 commit 23f084a

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

integration-tests/test_gradle_plugin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ def __init__(self, *args, **kwargs):
585585
def setUpClass(cls):
586586
super().setUpClass()
587587

588+
@util.skip_on_windows("ujson installation broken on Windows")
588589
def test_gradle_generated_app(self):
589590
self.check_gradle_generated_app(community=True)
590591

@@ -749,6 +750,7 @@ def setUpClass(cls):
749750
super().setUpClass()
750751

751752
@long_running_test
753+
@util.skip_on_windows("ujson installation broken on Windows")
752754
def test_gradle_generated_app(self):
753755
self.check_gradle_generated_app(community=True)
754756

integration-tests/test_jbang_integration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ def test_hello_example(self):
208208
self.assertIn("Successfully installed termcolor", out)
209209
self.assertIn("hello java", out)
210210

211+
@util.skip_on_windows("ujson installation broken on Windows")
211212
def test_external_dir(self):
212213
work_dir = self.tmpdir
213214
hello_java_file = self.prepare_hello_example(work_dir)

integration-tests/test_maven_plugin.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ def check_generated_app(self, use_default_vfs_path):
187187
util.check_ouput("not compatible with the current platform", out, logger=log)
188188

189189

190+
@util.skip_on_windows("ujson installation broken on Windows")
190191
def test_generated_app(self):
191192
self.check_generated_app(use_default_vfs_path=False)
192193

@@ -577,6 +578,7 @@ def _prepare_multi_project(self, tmpdir, app1_pom_template_name, app2_pom_templa
577578
return app1_dir, app1_mvnw_cmd, app2_dir, app2_mvnw_cmd
578579

579580
@long_running_test
581+
@util.skip_on_windows("ujson installation broken on Windows")
580582
def test_multiple_merged_vfs(self):
581583
if not util.native_image_all():
582584
self.skipTest("native-image tests disabled")
@@ -657,6 +659,7 @@ def test_multiple_merged_vfs(self):
657659
assert return_code == 0, out
658660

659661

662+
@util.skip_on_windows("ujson installation broken on Windows")
660663
def test_multiple_vfs_incompat_libs_error(self):
661664
with util.TemporaryTestDirectory() as tmpdir:
662665
app1_dir, app1_mvnw_cmd, app2_dir, app2_mvnw_cmd = \

integration-tests/util.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ def native_image_smoke():
7070
def long_running_test(func):
7171
return unittest.skipIf(long_running_test_disabled, "passed option --skip-long-running")(func)
7272

73+
def skip_on_windows(justification):
74+
return unittest.skipIf(sys.platform.startswith("win"), "skipped on Windows: " + justification)
75+
7376
class TemporaryTestDirectory():
7477
def __init__(self):
7578
if no_clean:

0 commit comments

Comments
 (0)