]
Matous Jobanek closed ARQ-2114.
-------------------------------
Resolution: Done
Pushed upstream in:
It is easy to reach the GH rate limit when firefox is used
----------------------------------------------------------
Key: ARQ-2114
URL:
https://issues.jboss.org/browse/ARQ-2114
Project: Arquillian
Issue Type: Bug
Components: Extension - Drone
Affects Versions: drone_2.1.1
Reporter: Matous Jobanek
Assignee: Matous Jobanek
Fix For: drone_2.1.2
When the limit is reached, then you get this error:
{noformat}
07:48:53 java.lang.RuntimeException: Could not create statement
07:48:53 at org.jboss.arquillian.junit.Arquillian.methodBlock(Arquillian.java:360)
07:48:53 at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
07:48:53 at
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
07:48:53 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
07:48:53 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
07:48:53 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
07:48:53 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
07:48:53 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
07:48:53 at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:205)
07:48:53 at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:431)
07:48:53 at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:55)
07:48:53 at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:219)
07:48:53 at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
07:48:53 at org.junit.rules.RunRules.evaluate(RunRules.java:20)
07:48:53 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
07:48:53 at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:167)
07:48:53 at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
07:48:53 at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
07:48:53 at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
07:48:53 at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
07:48:53 at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
07:48:53 at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
07:48:53 at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
07:48:53 Caused by: java.lang.IllegalStateException: Something bad happened when Drone
was trying to download and prepare a binary. For more information see the cause.
07:48:53 at
org.jboss.arquillian.drone.webdriver.binary.handler.AbstractBinaryHandler.checkAndSetBinary(AbstractBinaryHandler.java:61)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.FirefoxDriverFactory.getCapabilities(FirefoxDriverFactory.java:107)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.FirefoxDriverFactory.createInstance(FirefoxDriverFactory.java:73)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.FirefoxDriverFactory.createInstance(FirefoxDriverFactory.java:39)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:127)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:38)
07:48:53 at
org.jboss.arquillian.drone.impl.DroneConfigurator$1.createInstance(DroneConfigurator.java:112)
07:48:53 at
org.jboss.arquillian.drone.impl.CachingCallableImpl.call(CachingCallableImpl.java:44)
07:48:53 at
org.jboss.arquillian.core.impl.threading.ThreadedExecutorService$ContextualCallable.call(ThreadedExecutorService.java:89)
07:48:53 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
07:48:53 at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
07:48:53 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
07:48:53 at java.lang.Thread.run(Thread.java:745)
07:48:53 Caused by: java.lang.IllegalStateException: This is not a JSON Array.
07:48:53 at com.google.gson.JsonElement.getAsJsonArray(JsonElement.java:106)
07:48:53 at
org.jboss.arquillian.drone.webdriver.binary.downloading.source.GitHubSource.getReleaseForVersion(GitHubSource.java:103)
07:48:53 at
org.jboss.arquillian.drone.webdriver.binary.handler.AbstractBinaryHandler.downloadAndPrepare(AbstractBinaryHandler.java:161)
07:48:53 at
org.jboss.arquillian.drone.webdriver.binary.handler.AbstractBinaryHandler.checkAndSetBinary(AbstractBinaryHandler.java:59)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.FirefoxDriverFactory.getCapabilities(FirefoxDriverFactory.java:107)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.FirefoxDriverFactory.createInstance(FirefoxDriverFactory.java:73)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.FirefoxDriverFactory.createInstance(FirefoxDriverFactory.java:39)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:127)
07:48:53 at
org.jboss.arquillian.drone.webdriver.factory.WebDriverFactory.createInstance(WebDriverFactory.java:38)
07:48:53 at
org.jboss.arquillian.drone.impl.DroneConfigurator$1.createInstance(DroneConfigurator.java:112)
07:48:53 at
org.jboss.arquillian.drone.impl.CachingCallableImpl.call(CachingCallableImpl.java:44)
07:48:53 at
org.jboss.arquillian.core.impl.threading.ThreadedExecutorService$ContextualCallable.call(ThreadedExecutorService.java:89)
07:48:53 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
07:48:53 at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
07:48:53 at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
07:48:53 at java.lang.Thread.run(Thread.java:745)
{noformat}