Marc R. Hoffmann

Results 355 comments of Marc R. Hoffmann

Once `while (reader.read()) {}` terminates all requested data has been processed. So you now that no more data arrives and you can save the data to S3. See JavaDoc: https://www.jacoco.org/jacoco/trunk/doc/api/org/jacoco/core/data/ExecutionDataReader.html#read()

I'm pretty sure `reader.read()` returns `false` after the command has been processed, even if the agent keeps running and the socket is still alive. This how all our integrations are...

@ParadoxShmaradox I have to correct myself. Everything in the API is correct. If you send a single command and only expect one response just call `ExecutionDataReader.read()` once. So instead of...

Ok. So at what point in time do you want to write the data to S3? Maybe this is the logic you're looking for? while (reader.read()) { storeToS3(); } This...

@ParadoxShmaradox You're welcome! I'm happy I was able to clarify this.