Skip to content

Commit

Permalink
Pinned IDE version in the E2E test (#271)
Browse files Browse the repository at this point in the history
* Pinned IDE version in the E2E test

* Changelog
  • Loading branch information
Razz4780 authored Aug 13, 2024
1 parent d721f72 commit 7c9ac43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/+e2e-ide-version.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pinned PyCharm version used in the E2E test.
7 changes: 6 additions & 1 deletion src/test/kotlin/com/metalbear/mirrord/MirrordPluginTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand Down

0 comments on commit 7c9ac43

Please sign in to comment.