Skip to content

Commit 50bf8b3

Browse files
committed
removed creation
1 parent 77d9190 commit 50bf8b3

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

src/test/java/io/rejson/ClientTest.java

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,20 +184,21 @@ public void type1Exception() throws Exception {
184184
c.set("foobar", new FooBarObject(), Path.RootPath());
185185
c.type("foobar", new Path(".foo[1]"));
186186

187-
JedisPoolConfig conf = new JedisPoolConfig();
188-
conf.setMaxTotal(55);
189-
conf.setTestOnBorrow(false);
190-
conf.setTestOnReturn(false);
191-
conf.setTestOnCreate(false);
192-
conf.setTestWhileIdle(false);
193-
conf.setMinEvictableIdleTimeMillis(60000);
194-
conf.setTimeBetweenEvictionRunsMillis(30000);
195-
conf.setNumTestsPerEvictionRun(-1);
196-
conf.setFairness(true);
197-
198-
JedisPool pool = new JedisPool(conf, "localhost", 6379,1000);
199-
200-
JReJSON jReJSON = (JReJSON) pool.getResource();
187+
// JedisPoolConfig conf = new JedisPoolConfig();
188+
// conf.setMaxTotal(55);
189+
// conf.setTestOnBorrow(false);
190+
// conf.setTestOnReturn(false);
191+
// conf.setTestOnCreate(false);
192+
// conf.setTestWhileIdle(false);
193+
// conf.setMinEvictableIdleTimeMillis(60000);
194+
// conf.setTimeBetweenEvictionRunsMillis(30000);
195+
// conf.setNumTestsPerEvictionRun(-1);
196+
// conf.setFairness(true);
197+
//
198+
// JedisPool pool = new JedisPool(conf, "localhost", 6379,1000);
199+
//
200+
// JReJSON jReJSON = (JReJSON) pool.getResource();
201+
201202

202203

203204

0 commit comments

Comments
 (0)