File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
marklogic-client-api/src/test/java/com/marklogic/client/test/datamovement Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,12 @@ public void testJsonRows1Thread() throws Exception {
182182 runJsonRowsTest (jsonBatcher (1 ));
183183 }
184184 @ Test
185+ public void testJsonRows1ThreadForDB () throws Exception {
186+ runJsonRowsTest (jsonBatcher (
187+ Common .newClient ("java-unittest" ).newDataMovementManager (),
188+ 1 ));
189+ }
190+ @ Test
185191 public void testJsonRows3Threads () throws Exception {
186192 runJsonRowsTest (jsonBatcher (3 ));
187193 }
@@ -224,6 +230,9 @@ public void testCsvRows3Threads() throws Exception {
224230 /* TODO: style tests
225231 */
226232 private RowBatcher <JsonNode > jsonBatcher (int threads ) {
233+ return jsonBatcher (moveMgr , threads );
234+ }
235+ private RowBatcher <JsonNode > jsonBatcher (DataMovementManager moveMgr , int threads ) {
227236 return moveMgr .newRowBatcher (new JacksonHandle ())
228237 .withBatchSize (30 )
229238 .withThreadCount (threads );
You can’t perform that action at this time.
0 commit comments