Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
wangliang181230 committed Nov 27, 2023
1 parent f247af5 commit f08a439
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
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 @@ -54,6 +55,9 @@ 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 @@ -88,6 +92,9 @@ 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 f08a439

Please sign in to comment.