From 7c9ac43619631876c7d1a7d2a4705162995826f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Smolarek?= <34063647+Razz4780@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:50:01 +0200 Subject: [PATCH] Pinned IDE version in the E2E test (#271) * Pinned IDE version in the E2E test * Changelog --- changelog.d/+e2e-ide-version.changed.md | 1 + src/test/kotlin/com/metalbear/mirrord/MirrordPluginTest.kt | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelog.d/+e2e-ide-version.changed.md diff --git a/changelog.d/+e2e-ide-version.changed.md b/changelog.d/+e2e-ide-version.changed.md new file mode 100644 index 00000000..d3e37188 --- /dev/null +++ b/changelog.d/+e2e-ide-version.changed.md @@ -0,0 +1 @@ +Pinned PyCharm version used in the E2E test. \ No newline at end of file diff --git a/src/test/kotlin/com/metalbear/mirrord/MirrordPluginTest.kt b/src/test/kotlin/com/metalbear/mirrord/MirrordPluginTest.kt index 5190703b..432c4214 100644 --- a/src/test/kotlin/com/metalbear/mirrord/MirrordPluginTest.kt +++ b/src/test/kotlin/com/metalbear/mirrord/MirrordPluginTest.kt @@ -55,7 +55,12 @@ internal class MirrordPluginTest { val pluginPath = Paths.get(System.getProperty("test.plugin.path")) println("downloading IDE...") - val pathToIde = ideDownloader.downloadAndExtract(Ide.PYCHARM_COMMUNITY, tmpDir, Ide.BuildType.RELEASE) + val pathToIde = ideDownloader.downloadAndExtract( + Ide.PYCHARM_COMMUNITY, + tmpDir, + Ide.BuildType.RELEASE, + "2022.3.2" + ) // IdeLauncher fails when the IDE bin directory does not contain exactly one `.vmoptions` file for 64 arch. println("fixing vmoptions files...")