[JAVA] I was addicted to the Spring-Batch test

I was addicted to the Spring-Batch test

What I was addicted to

--Execute by giving parameters to a batch ――The first time is successful, but the second and subsequent times cannot be executed

Cause of addiction

--Spring-Batch has a function to save the job execution result --After a successful job, it cannot be executed with the same parameters as last time.

Going by the concept of Job Instances and Job Executions in Spring Batch, 
you can't start a COMPLETED job instance again 
though you can launch same instance of job again & 
again till its not COMPLETE ( and few more job statuses ).

Job instance uniqueness is achieved by jobId & job parameters

--It took me a while to get to this story because another error message was displayed ―― ~~ What is this fucking garbage function ... ~~ It's a wonderful function.

Recommended Posts

I was addicted to the Spring-Batch test
I was addicted to the roll method
[CircleCI] I was addicted to the automatic test of CircleCI (rails + mysql) [Memo]
I was addicted to the record of the associated model
I was addicted to starting sbt
What I was addicted to when introducing the JNI library
I was addicted to looping the Update statement on MyBatis
What I was addicted to with the Redmine REST API
The story I was addicted to when setting up STS
I was addicted to rewriting to @SpringApplicationConfiguration-> @SpringBootTest
About the matter that I was addicted to how to use hashmap
I was addicted to the API version min23 setting of registerTorchCallback
I was addicted to using RXTX on Sierra
I was addicted to installing Ruby/Tk on MacOS
Memorandum: What I was addicted to when I hit the accounting freee API
[Rails] I was addicted to the nginx settings when using Action Cable.
A story I was addicted to when testing the API using MockMVC
I was addicted to a simple test of Jedis (Java-> Redis library)
Problems I was addicted to when building the digdag environment with docker
Recorded because I was addicted to the standard input of the Scanner class
I was addicted to scrollview because I couldn't tap the variable size UIView
I was addicted to unit testing with the buffer operator in RxJava
I was addicted to not being able to connect to AWS-S3 from the Docker container
I was a little addicted to the S3 Checksum comparison, so I made a note.
The part I was addicted to in "Introduction to Ajax in Java Web Applications" of NetBeans
A memorandum because I was addicted to the setting of the Android project of IntelliJ IDEA
What I fixed when updating to Spring Boot 1.5.12 ・ What I was addicted to
What I was addicted to while using rspec on rails
I was addicted to setting default_url_options with Rails devise introduction
I was addicted to using Java's Stream API in Scala
I tried to explain the method
The story I wanted to unzip
Android memo-I was addicted to Permission
[Circle CI] A story I was addicted to at Start Building
I tried to summarize what was asked at the site-java edition-
A note when I was addicted to converting Ubuntu on WSL1 to WSL2
I was able to deploy the Docker + laravel + MySQL app to Heroku!
Technical causes and countermeasures for the points I was addicted to with the first Android app & Kotlin
What I was addicted to when updating the PHP version of the development environment (Docker) from 7.2.11 to 7.4.x
I tried to summarize the methods used
With EqualsVerifier, the equals () test was instant
I want to write a unit test!
I wanted to add @VisibleForTesting to the method
I tried to implement the Iterator pattern
I tried to summarize the Stream API
I went to the Java Women's Club # 1
Why was the code painful to read?
A memo that was soberly addicted to the request of multipart / form-data
My.cnf configuration problem that I was addicted to when I was touching MySQL 8.0 like 5.7
I was a little addicted to running old Ruby environment and old Rails
It was a life I wanted to reset the thread-safe associative counter
I was a little addicted to ssh connection from mac to linux (ubuntu)
A story that I was addicted to twice with the automatic startup setting of Tomcat 8 on CentOS 8
I rewrote the Rails tutorial test with RSpec
I want to output the day of the week
[Rails] I tried to raise the Rails version from 5.0 to 5.2
I tried to organize the session in Rails
I want to var_dump the contents of the intent
I tried to summarize again the devise that was difficult at first sight
Why Java was the target language I hate
I tried to set tomcat to run the Servlet.