-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid using hardcoded ports in nativeTest
- Loading branch information
1 parent
68c07e1
commit e4416d8
Showing
20 changed files
with
165 additions
and
260 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,15 +37,12 @@ ShardingSphere JDBC 要求在如下或更高版本的 `GraalVM CE` 完成构建 | |
<plugin> | ||
<groupId>org.graalvm.buildtools</groupId> | ||
<artifactId>native-maven-plugin</artifactId> | ||
<version>0.9.28</version> | ||
<version>0.10.0</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<buildArgs> | ||
<buildArg>-H:+AddAllCharsets</buildArg> | ||
</buildArgs> | ||
<metadataRepository> | ||
<enabled>true</enabled> | ||
</metadataRepository> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
|
@@ -76,7 +73,7 @@ ShardingSphere JDBC 要求在如下或更高版本的 `GraalVM CE` 完成构建 | |
|
||
```groovy | ||
plugins { | ||
id 'org.graalvm.buildtools.native' version '0.9.28' | ||
id 'org.graalvm.buildtools.native' version '0.10.0' | ||
} | ||
dependencies { | ||
|
@@ -92,9 +89,6 @@ graalvmNative { | |
buildArgs.add('-H:+AddAllCharsets') | ||
} | ||
} | ||
metadataRepository { | ||
enabled = true | ||
} | ||
} | ||
``` | ||
|
||
|
@@ -240,8 +234,8 @@ ShardingSphere 定义了 `nativeTestInShardingSphere` 的 Maven Profile 用于 | |
sudo apt install unzip zip curl sed -y | ||
curl -s "https://get.sdkman.io" | bash | ||
source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
sdk install java 21.0.1-graalce | ||
sdk use java 21.0.1-graalce | ||
sdk install java 21.0.2-graalce | ||
sdk use java 21.0.2-graalce | ||
sudo apt-get install build-essential libz-dev zlib1g-dev -y | ||
git clone [email protected]:apache/shardingsphere.git | ||
|
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 |
---|---|---|
|
@@ -39,15 +39,12 @@ and the documentation of GraalVM Native Build Tools shall prevail. | |
<plugin> | ||
<groupId>org.graalvm.buildtools</groupId> | ||
<artifactId>native-maven-plugin</artifactId> | ||
<version>0.9.28</version> | ||
<version>0.10.0</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<buildArgs> | ||
<buildArg>-H:+AddAllCharsets</buildArg> | ||
</buildArgs> | ||
<metadataRepository> | ||
<enabled>true</enabled> | ||
</metadataRepository> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
|
@@ -79,7 +76,7 @@ and the documentation of GraalVM Native Build Tools shall prevail. | |
|
||
```groovy | ||
plugins { | ||
id 'org.graalvm.buildtools.native' version '0.9.28' | ||
id 'org.graalvm.buildtools.native' version '0.10.0' | ||
} | ||
dependencies { | ||
|
@@ -95,9 +92,6 @@ graalvmNative { | |
buildArgs.add('-H:+AddAllCharsets') | ||
} | ||
} | ||
metadataRepository { | ||
enabled = true | ||
} | ||
} | ||
``` | ||
|
||
|
@@ -250,8 +244,8 @@ You must install Docker Engine to execute `testcontainers-java` related unit tes | |
sudo apt install unzip zip curl sed -y | ||
curl -s "https://get.sdkman.io" | bash | ||
source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
sdk install java 21.0.1-graalce | ||
sdk use java 21.0.1-graalce | ||
sdk install java 21.0.2-graalce | ||
sdk use java 21.0.2-graalce | ||
sudo apt-get install build-essential libz-dev zlib1g-dev -y | ||
git clone [email protected]:apache/shardingsphere.git | ||
|
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
65 changes: 0 additions & 65 deletions
65
...tive/src/test/java/org/apache/shardingsphere/test/natived/jdbc/commons/FileTestUtils.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.