Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue #445 : Unpredictable errors when OkHttpClient.Builder instance is reused #478

Merged
merged 1 commit into from
Jul 27, 2018

Conversation

lxhoan
Copy link
Contributor

@lxhoan lxhoan commented Jul 26, 2018

Hi @majst01 , I accidentally dropped PR #477 so create this new one
PR is now mergable, please take a look, tks

@codecov-io
Copy link

codecov-io commented Jul 26, 2018

Codecov Report

Merging #478 into master will decrease coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master    #478      +/-   ##
===========================================
- Coverage     87.35%   87.3%   -0.05%     
- Complexity      357     358       +1     
===========================================
  Files            24      24              
  Lines          1495    1497       +2     
  Branches        164     164              
===========================================
+ Hits           1306    1307       +1     
- Misses          122     123       +1     
  Partials         67      67
Impacted Files Coverage Δ Complexity Δ
src/main/java/org/influxdb/impl/InfluxDBImpl.java 89.07% <100%> (-0.49%) 73 <0> (ø)
src/main/java/org/influxdb/InfluxDBFactory.java 100% <0%> (+6.66%) 6% <0%> (+1%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e24fa4...96ffd8c. Read the comment docs.

}
});
}
System.out.println("Invoking all callableList (size()=" + callableList.size() + ")");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not a big fan of having sysout in tests, are these necessary ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed them

@@ -18,21 +36,7 @@
import org.junit.platform.runner.JUnitPlatform;
import org.junit.runner.RunWith;

import java.io.IOException;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please revert this formatting

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted as comments, thanks

@majst01 majst01 merged commit 804735b into influxdata:master Jul 27, 2018
@lxhoan lxhoan changed the title fix issue #445 : https://github.com/influxdata/influxdb-java/issues/445 fix issue #445 : Unpredictable errors when OkHttpClient.Builder instance is reused Jul 27, 2018
@lxhoan lxhoan deleted the issue_445 branch July 31, 2018 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants