Skip to content

Commit

Permalink
remove test-alpine-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Nov 27, 2023
1 parent 8b8710d commit 62a77d0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 51 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/test-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,47 +88,3 @@ jobs:
-DskipTests \
-Prelease-seata \
-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
# job 3:
test-alpine-linux:
name: "test-alpine-linux"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
springboot: [
2.7.17 -Dspring-framework.version=5.3.30,
2.6.15 -Dspring-framework.version=5.3.27,
2.5.15 -Dspring-framework.version=5.3.27,
2.4.13 -Dspring-framework.version=5.3.13,
2.3.12.RELEASE -Dspring-framework.version=5.2.15.RELEASE,
2.2.13.RELEASE -Dspring-framework.version=5.2.12.RELEASE,
#2.1.18.RELEASE,
#2.0.9.RELEASE,
#1.5.22.RELEASE,
#1.4.7.RELEASE,
#1.3.8.RELEASE,
#1.2.8.RELEASE,
#1.1.12.RELEASE,
#1.0.2.RELEASE
]
steps:
# step 1
- name: "Checkout"
uses: actions/checkout@v3
# step 2
- name: "Set up QEMU"
id: qemu
uses: docker/setup-qemu-action@v3
# step 3
- name: "Test with Maven on 'alpine-linux' OS (Skip tests)"
run: |
docker pull alpine:latest;
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \
alpine:latest \
bash -exc 'apt-get update -y && \
apt-get install maven -y && \
mvn -version && \
mvn clean install \
-Dspring-boot.version=${{ matrix.springboot }} \
-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import io.seata.server.storage.file.store.FileTransactionStoreManager;
import io.seata.server.store.StoreConfig;
import io.seata.server.store.TransactionStoreManager;
import net.bytebuddy.utility.OpenedClassReader;
import org.assertj.core.util.Files;
import org.junit.jupiter.api.*;
import org.mockito.Mockito;
Expand All @@ -65,9 +64,6 @@ public static void destroy(){

@Test
public void testBigDataWrite() throws Exception {
System.out.println("net.bytebuddy.experimental = " + System.getProperty("net.bytebuddy.experimental"));
System.out.println("OpenedClassReader.EXPERIMENTAL = " + OpenedClassReader.EXPERIMENTAL);

File seataFile = Files.newTemporaryFile();
FileTransactionStoreManager fileTransactionStoreManager = null;
try {
Expand Down Expand Up @@ -102,9 +98,6 @@ public void testBigDataWrite() throws Exception {

@Test
public void testFindTimeoutAndSave() throws Exception {
System.out.println("net.bytebuddy.experimental = " + System.getProperty("net.bytebuddy.experimental"));
System.out.println("OpenedClassReader.EXPERIMENTAL = " + OpenedClassReader.EXPERIMENTAL);

File seataFile = Files.newTemporaryFile();
Method findTimeoutAndSaveMethod = FileTransactionStoreManager.class.getDeclaredMethod("findTimeoutAndSave");
findTimeoutAndSaveMethod.setAccessible(true);
Expand Down

0 comments on commit 62a77d0

Please sign in to comment.