-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for testing mechanism for table sources: using full, model classp…
…ath instead of only flinkTable.jar (#6950) * Testing mechanism usage for Iceberg purpose fix attempt: model classloader instead of one, hardcoded jar * designer logs in e2e tests * NussknackerVersion parsing fix after semver bump
- Loading branch information
Showing
7 changed files
with
76 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...-api/src/test/scala/pl/touk/nussknacker/engine/api/component/NussknackerVersionTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package pl.touk.nussknacker.engine.api.component | ||
|
||
import org.scalatest.funsuite.AnyFunSuiteLike | ||
import org.scalatest.matchers.should.Matchers | ||
import scala.jdk.CollectionConverters._ | ||
|
||
class NussknackerVersionTest extends AnyFunSuiteLike with Matchers { | ||
|
||
test("should allow to use underscores in nussknacker version") { | ||
val version = | ||
NussknackerVersion.parse("1.18.0-preview_testing-mechanism-iceberg-fix-2024-09-26-20745-9048b0f0a-SNAPSHOT") | ||
version.value.getMajor shouldBe 1 | ||
version.value.getMinor shouldBe 18 | ||
version.value.getPatch shouldBe 0 | ||
version.value.getPreRelease.asScala shouldBe empty | ||
version.value.getBuild.asScala shouldBe empty | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters