Skip to content

Redis data generation.#1487

Merged
arcuri82 merged 13 commits intomasterfrom
redis-e2e-extension
Apr 13, 2026
Merged

Redis data generation.#1487
arcuri82 merged 13 commits intomasterfrom
redis-e2e-extension

Conversation

@aszyrej
Copy link
Copy Markdown
Collaborator

@aszyrej aszyrej commented Mar 25, 2026

Added Redis execution info extraction and data generation (only for GET command).

RedisActions are now included, and new data is being inserted into Redis. Test cases also include Redis new data using RedisDsl and a RedisWriter.

@aszyrej aszyrej requested a review from jgaleotti March 25, 2026 03:07
@aszyrej aszyrej requested a review from jgaleotti March 30, 2026 03:29
*
* @return a list of DTOs representing all the insertion Redis commands defined in this DSL.
*/
List<RedisInsertionDto> dtos();
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should dtos() be removed?

@aszyrej aszyrej requested a review from jgaleotti March 31, 2026 00:31
@jgaleotti jgaleotti requested a review from arcuri82 March 31, 2026 17:55
@jgaleotti
Copy link
Copy Markdown
Collaborator

@arcuri82 you might review this PR now.

serverController.setExecutingInitMongo(executingInitRedis);
// sync executingInitMongo on the local ExecutionTracer
ExecutionTracer.setExecutingInitMongo(executingInitRedis);
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are those functions calling *InitMongo? is it a copy&paste bug? and if so, why no test case failed?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I missed these copy-paste errors in my review. And yes, there should be a test failing due to this.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I apologize for this copy paste error, already changed the code. Since we do not generate heuristics on insertion commands, this didn't affect the logic for Redis data generation.
As for a new test for this code... I don't believe it's possible to test this in an e2e context or even an integration one without adding some debug methods to access the data for testing.

@aszyrej aszyrej requested a review from arcuri82 April 11, 2026 20:53
@arcuri82 arcuri82 merged commit 0856a7e into master Apr 13, 2026
13 checks passed
@arcuri82 arcuri82 deleted the redis-e2e-extension branch April 13, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants