Rename JdbcIntegrationTest to JdbcLiveTest (#2600)

This commit is contained in:
Grzegorz Piwowarek 2017-09-11 08:33:34 +02:00 committed by GitHub
parent 3e192a0707
commit f95f0da640
2 changed files with 4 additions and 3 deletions

View File

@ -21,9 +21,9 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class JdbcIntegrationTest {
public class JdbcLiveTest {
private static final Logger LOG = Logger.getLogger(JdbcIntegrationTest.class);
private static final Logger LOG = Logger.getLogger(JdbcLiveTest.class);
private Connection con;

View File

@ -13,8 +13,9 @@ public class ResourceManagement {
return resource;
},
r -> Observable.create(o -> {
for (Character c : r.toCharArray())
for (Character c : r.toCharArray()) {
o.onNext(c);
}
o.onCompleted();
}),
r -> System.out.println("Disposed: " + r)