This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new f44424098 Remove temporary test.
f44424098 is described below

commit f44424098d2f5934b879bfb8392dfa8dcaf30f2b
Author: JamesBognar <[email protected]>
AuthorDate: Wed Nov 23 12:41:12 2022 -0500

    Remove temporary test.
---
 .../rest/test/client/ThirdPartyProxyTest.java      | 38 ----------------------
 1 file changed, 38 deletions(-)

diff --git 
a/juneau-utest/src/test/java/org/apache/juneau/rest/test/client/ThirdPartyProxyTest.java
 
b/juneau-utest/src/test/java/org/apache/juneau/rest/test/client/ThirdPartyProxyTest.java
index cb83d9606..4cec0c2c2 100644
--- 
a/juneau-utest/src/test/java/org/apache/juneau/rest/test/client/ThirdPartyProxyTest.java
+++ 
b/juneau-utest/src/test/java/org/apache/juneau/rest/test/client/ThirdPartyProxyTest.java
@@ -22,7 +22,6 @@ import static org.junit.Assert.*;
 import static org.junit.runners.MethodSorters.*;
 
 import java.util.*;
-import java.util.concurrent.atomic.*;
 
 import org.apache.juneau.annotation.*;
 import org.apache.juneau.html.*;
@@ -69,43 +68,6 @@ public class ThirdPartyProxyTest {
                proxy = 
MockRestClient.create(ThirdPartyProxyResource.class).ignoreErrors().serializer(serializer).parser(parser).partSerializer(UonSerializer.create().addBeanTypes().addRootType().build()).build().getRemote(ThirdPartyProxy.class,
 null, serializer, parser);
        }
 
-       
//-----------------------------------------------------------------------------------------------------------------
-       // Temporary exhaustive test.
-       
//-----------------------------------------------------------------------------------------------------------------
-
-       @Test
-       @Ignore
-       public void a00_lotsOfSetInt3dArray() {
-               final AtomicLong time = new 
AtomicLong(System.currentTimeMillis());
-               final AtomicInteger iteration = new AtomicInteger(0);
-               TimerTask timerTask = new TimerTask() {
-                       @Override
-                       public void run() {
-                               if (System.currentTimeMillis() - time.get() > 
10000) {
-                                       try {
-                                               System.err.println("Failed at 
iteration " + iteration.get());  // NOT DEBUG
-                                               System.exit(2);
-                                       } catch (Exception e) {
-                                               e.printStackTrace();
-                                       }
-                               }
-                       }
-               };
-               // running timer task as daemon thread
-               Timer timer = new Timer(true);
-               timer.scheduleAtFixedRate(timerTask, 0, 10 * 1000);
-               for (int i = 0; i < 100000; i++) {
-                       iteration.set(i);
-                       String s = proxy.setInt3dArray(new 
int[][][]{{{i},null},null}, i);
-                       if (i % 1000 == 0)
-                               System.err.println("response="+s);  // NOT DEBUG
-                       time.set(System.currentTimeMillis());
-               }
-               timer.cancel();
-       }
-
-
-
        
//-----------------------------------------------------------------------------------------------------------------
        // Header tests
        
//-----------------------------------------------------------------------------------------------------------------

Reply via email to