81 lines
17 KiB
XML
81 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<testsuite name="org.springframework.batch.sample.SkipSampleFunctionalTests" tests="1" skipped="0" failures="0" errors="0" timestamp="2017-03-23T15:06:39" hostname="Michaels-MacBook-Pro-3.local" time="0.156">
|
|
<properties/>
|
|
<testcase name="testJobIncrementing" classname="org.springframework.batch.sample.SkipSampleFunctionalTests" time="0.156"/>
|
|
<system-out><![CDATA[10:06:38,740 INFO Test worker DefaultTestContextBootstrapper:260 - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
|
|
10:06:38,741 INFO Test worker DefaultTestContextBootstrapper:187 - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2345a4dc, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@fbc49d4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@70b041f6, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5111bb8b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@5f7c8631, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@326386e3]
|
|
10:06:38,742 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [skipSample-job-launcher-context.xml]
|
|
10:06:38,752 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [data-source-context.xml]
|
|
10:06:38,762 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from class path resource [org/springframework/batch/sample/config/common-context.xml]
|
|
10:06:38,768 INFO Test worker GenericApplicationContext:581 - Refreshing org.springframework.context.support.GenericApplicationContext@40aecea8: startup date [Thu Mar 23 10:06:38 CDT 2017]; root of context hierarchy
|
|
10:06:38,798 INFO Test worker AutowiredAnnotationBeanPostProcessor:151 - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
|
|
10:06:38,879 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [org/springframework/batch/core/schema-drop-hsqldb.sql]
|
|
10:06:38,881 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [org/springframework/batch/core/schema-drop-hsqldb.sql] in 2 ms.
|
|
10:06:38,882 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [org/springframework/batch/core/schema-hsqldb.sql]
|
|
10:06:38,884 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [org/springframework/batch/core/schema-hsqldb.sql] in 2 ms.
|
|
10:06:38,884 INFO Test worker ScriptUtils:442 - Executing SQL script from class path resource [business-schema-hsqldb.sql]
|
|
10:06:38,888 INFO Test worker ScriptUtils:508 - Executed SQL script from class path resource [business-schema-hsqldb.sql] in 3 ms.
|
|
10:06:38,906 INFO Test worker JobRepositoryFactoryBean:184 - No database type set, using meta data indicating: HSQL
|
|
10:06:38,907 INFO Test worker SimpleJobLauncher:201 - No TaskExecutor has been set, defaulting to synchronous executor.
|
|
10:06:38,957 INFO Test worker XmlBeanDefinitionReader:317 - Loading XML bean definitions from URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]
|
|
10:06:38,977 INFO Test worker GenericApplicationContextFactory$ResourceXmlApplicationContext:581 - Refreshing ResourceXmlApplicationContext:file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml
|
|
10:06:38,990 INFO Test worker DefaultListableBeanFactory:818 - Overriding bean definition for bean 'fileItemReader' with a different definition: replacing [Generic bean: class [org.springframework.batch.item.file.FlatFileItemReader]; scope=step; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]] with [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]]
|
|
10:06:38,990 INFO Test worker DefaultListableBeanFactory:818 - Overriding bean definition for bean 'tradeProcessor' with a different definition: replacing [Generic bean: class [org.springframework.batch.sample.domain.trade.internal.TradeProcessor]; scope=step; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]] with [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]]
|
|
10:06:38,991 INFO Test worker DefaultListableBeanFactory:818 - Overriding bean definition for bean 'tradeProcessorFailure' with a different definition: replacing [Generic bean: class [org.springframework.batch.sample.domain.trade.internal.TradeProcessor]; scope=step; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]] with [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]]
|
|
10:06:38,991 INFO Test worker DefaultListableBeanFactory:818 - Overriding bean definition for bean 'tradeWriter' with a different definition: replacing [Generic bean: class [org.springframework.batch.sample.domain.trade.internal.TradeWriter]; scope=step; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]] with [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]]
|
|
10:06:38,991 INFO Test worker DefaultListableBeanFactory:818 - Overriding bean definition for bean 'itemTrackingWriter' with a different definition: replacing [Generic bean: class [org.springframework.batch.sample.domain.trade.internal.ItemTrackingTradeItemWriter]; scope=step; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]] with [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]]
|
|
10:06:38,991 INFO Test worker DefaultListableBeanFactory:818 - Overriding bean definition for bean 'tradeSqlItemReader' with a different definition: replacing [Generic bean: class [org.springframework.batch.item.database.JdbcCursorItemReader]; scope=step; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]] with [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]]
|
|
10:06:38,991 INFO Test worker DefaultListableBeanFactory:818 - Overriding bean definition for bean 'errorLogTasklet' with a different definition: replacing [Generic bean: class [org.springframework.batch.sample.common.ErrorLogTasklet]; scope=step; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=false; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]] with [Root bean: class [org.springframework.aop.scope.ScopedProxyFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in BeanDefinition defined in URL [file:/Users/mminella/Documents/IntelliJWorkspace/spring-batch/spring-batch-samples/build/resources/main/jobs/skipSampleJob.xml]]
|
|
10:06:39,349 INFO Test worker GenericApplicationContext:985 - Closing org.springframework.context.support.GenericApplicationContext@19aa0634: startup date [Thu Mar 23 10:05:57 CDT 2017]; root of context hierarchy
|
|
10:06:39,361 INFO Test worker SimpleJobOperator:340 - Locating parameters for next instance of job with name=skipJob
|
|
10:06:39,362 INFO Test worker SimpleJobOperator:362 - Attempting to launch job with name=skipJob and parameters={run.id=1}
|
|
10:06:39,365 INFO Test worker SimpleJobLauncher:139 - Job: [FlowJob: [name=skipJob]] launched with the following parameters: [{run.id=1}]
|
|
10:06:39,368 INFO Test worker SimpleStepHandler:146 - Executing step: [step1]
|
|
10:06:39,397 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH45,quantity=978,price=98.34,customer=customer1]
|
|
10:06:39,399 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH45,quantity=978,price=98.34,customer=customer1]
|
|
10:06:39,399 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH46,quantity=112,price=18.12,customer=customer2]
|
|
10:06:39,400 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH46,quantity=112,price=18.12,customer=customer2]
|
|
10:06:39,401 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH47,quantity=223,price=12.78,customer=customer3]
|
|
10:06:39,401 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH47,quantity=223,price=12.78,customer=customer3]
|
|
10:06:39,406 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH48,quantity=245,price=32.53,customer=customer4]
|
|
10:06:39,407 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH48,quantity=245,price=32.53,customer=customer4]
|
|
10:06:39,408 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH50,quantity=854,price=13.39,customer=customer6]
|
|
10:06:39,408 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH50,quantity=854,price=13.39,customer=customer6]
|
|
10:06:39,410 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH48,quantity=245,price=32.53,customer=customer4]
|
|
10:06:39,411 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH48,quantity=245,price=32.53,customer=customer4]
|
|
10:06:39,415 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH50,quantity=854,price=13.39,customer=customer6]
|
|
10:06:39,416 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH50,quantity=854,price=13.39,customer=customer6]
|
|
10:06:39,418 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH51,quantity=978,price=98.34,customer=customer7]
|
|
10:06:39,419 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH51,quantity=978,price=98.34,customer=customer7]
|
|
10:06:39,420 DEBUG Test worker SkipCheckingListener:65 - Skipped writing Trade: [isin=UK21341EAH50,quantity=854,price=13.39,customer=customer6]
|
|
10:06:39,423 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH52,quantity=345,price=48.23,customer=customer8]
|
|
10:06:39,424 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH52,quantity=345,price=48.23,customer=customer8]
|
|
10:06:39,424 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH53,quantity=564,price=32.11,customer=customer9]
|
|
10:06:39,425 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH53,quantity=564,price=32.11,customer=customer9]
|
|
10:06:39,429 INFO Test worker SimpleStepHandler:146 - Executing step: [errorPrint1]
|
|
10:06:39,438 INFO Test worker SimpleStepHandler:146 - Executing step: [step2]
|
|
10:06:39,452 DEBUG Test worker SkipCheckingListener:65 - Skipped writing Trade: [isin=UK21341EAH47,quantity=223,price=12.78,customer=customer3]
|
|
10:06:39,454 DEBUG Test worker SkipCheckingListener:70 - Skipped processing Trade: [isin=UK21341EAH52,quantity=345,price=48.23,customer=customer8]
|
|
10:06:39,460 INFO Test worker SimpleStepHandler:146 - Executing step: [errorPrint2]
|
|
10:06:39,463 INFO Test worker SimpleJobLauncher:142 - Job: [FlowJob: [name=skipJob]] completed with the following parameters: [{run.id=1}] and the following status: [COMPLETED]
|
|
10:06:39,474 INFO Test worker SimpleJobOperator:340 - Locating parameters for next instance of job with name=skipJob
|
|
10:06:39,477 INFO Test worker SimpleJobOperator:362 - Attempting to launch job with name=skipJob and parameters={run.id=2}
|
|
10:06:39,480 INFO Test worker SimpleJobLauncher:139 - Job: [FlowJob: [name=skipJob]] launched with the following parameters: [{run.id=2}]
|
|
10:06:39,484 INFO Test worker SimpleStepHandler:146 - Executing step: [step1]
|
|
10:06:39,488 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH54,quantity=323,price=38.24,customer=customer10]
|
|
10:06:39,490 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH54,quantity=323,price=38.24,customer=customer10]
|
|
10:06:39,490 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH55,quantity=654,price=69.32,customer=customer11]
|
|
10:06:39,491 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH55,quantity=654,price=69.32,customer=customer11]
|
|
10:06:39,491 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH56,quantity=723,price=96.53,customer=customer12]
|
|
10:06:39,492 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH56,quantity=723,price=96.53,customer=customer12]
|
|
10:06:39,494 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH57,quantity=754,price=17.43,customer=customer13]
|
|
10:06:39,495 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH57,quantity=754,price=17.43,customer=customer13]
|
|
10:06:39,496 DEBUG Test worker TradeWriter:55 - Trade: [isin=UK21341EAH58,quantity=934,price=49.23,customer=customer14]
|
|
10:06:39,496 DEBUG Test worker JdbcTradeDao:58 - Processing: Trade: [isin=UK21341EAH58,quantity=934,price=49.23,customer=customer14]
|
|
10:06:39,501 INFO Test worker SimpleStepHandler:146 - Executing step: [step2]
|
|
10:06:39,510 INFO Test worker SimpleJobLauncher:142 - Job: [FlowJob: [name=skipJob]] completed with the following parameters: [{run.id=2}] and the following status: [COMPLETED]
|
|
]]></system-out>
|
|
<system-err><![CDATA[{TOTAL_AMOUNT=340.45}
|
|
]]></system-err>
|
|
</testsuite>
|