flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - Try to resolve downloading issues on some machines.
Date Thu, 19 May 2016 09:36:19 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop f38b2f833 -> a6bc10ea2


Try to resolve downloading issues on some machines.


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/a6bc10ea
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/a6bc10ea
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/a6bc10ea

Branch: refs/heads/develop
Commit: a6bc10ea2cf25820758901d5096bf934dd92de1e
Parents: f38b2f8
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Thu May 19 11:36:13 2016 +0200
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Thu May 19 11:36:13 2016 +0200

----------------------------------------------------------------------
 .../converter/retrievers/download/DownloadRetriever.java         | 1 +
 .../flex/utilities/converter/retrievers/download/ProxyTest.java  | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/a6bc10ea/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
b/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
index bb4370e..197b611 100644
--- a/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
+++ b/flex-maven-tools/flex-sdk-converter/retrievers/download/src/main/java/org/apache/flex/utilities/converter/retrievers/download/DownloadRetriever.java
@@ -269,6 +269,7 @@ public class DownloadRetriever extends BaseRetriever {
             while ((expectedSize == 0) || (transferredSize < expectedSize)) {
                 // Transfer about 1MB in each iteration.
                 long currentSize = fos.getChannel().transferFrom(rbc, transferredSize, MEGABYTE);
+                System.out.println("Transferred " + currentSize + " bytes");
                 if(currentSize < MEGABYTE) {
                     break;
                 }

http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/a6bc10ea/flex-maven-tools/flex-sdk-converter/retrievers/download/src/test/java/org/apache/flex/utilities/converter/retrievers/download/ProxyTest.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/flex-sdk-converter/retrievers/download/src/test/java/org/apache/flex/utilities/converter/retrievers/download/ProxyTest.java
b/flex-maven-tools/flex-sdk-converter/retrievers/download/src/test/java/org/apache/flex/utilities/converter/retrievers/download/ProxyTest.java
index 73d6226..a423b66 100644
--- a/flex-maven-tools/flex-sdk-converter/retrievers/download/src/test/java/org/apache/flex/utilities/converter/retrievers/download/ProxyTest.java
+++ b/flex-maven-tools/flex-sdk-converter/retrievers/download/src/test/java/org/apache/flex/utilities/converter/retrievers/download/ProxyTest.java
@@ -19,7 +19,6 @@ package org.apache.flex.utilities.converter.retrievers.download;
 import org.apache.flex.utilities.converter.api.ProxySettings;
 import org.apache.flex.utilities.converter.retrievers.types.PlatformType;
 import org.apache.flex.utilities.converter.retrievers.types.SdkType;
-import org.junit.Ignore;
 import org.mockserver.integration.ClientAndProxy;
 import org.testng.annotations.AfterMethod;
 import org.testng.annotations.BeforeMethod;
@@ -61,8 +60,7 @@ public class ProxyTest {
      * Does a download using the HttpClient class
      */
     // TODO: Re-Include this.
-    @Test
-    @Ignore
+    @Test(enabled = false)
     public void simpleSafeHttpNoAuthProxy() throws Exception {
         ProxySettings proxySettings = new ProxySettings("HTTP", "localhost", 3456, null,
null, null);
         ProxySettings.setProxySettings(proxySettings);


Mime
View raw message