Skip to content

[OGUI-1193] Shuffle fakeData.json to remove groupings of similar logs#3499

Open
isaachilly wants to merge 4 commits into
devfrom
feature/ILG/OGUI-1193/Filters-should-allow-for-empty-fields-to-be-searched
Open

[OGUI-1193] Shuffle fakeData.json to remove groupings of similar logs#3499
isaachilly wants to merge 4 commits into
devfrom
feature/ILG/OGUI-1193/Filters-should-allow-for-empty-fields-to-be-searched

Conversation

@isaachilly

@isaachilly isaachilly commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

FIxing macOS timeouts for ILG test.

Add shuffle utility that scrambles the fakeData.json file to get rid of groupings of similar logs. These groupings made tests that wait for a set number of logs to match their filters take much longer than needed to complete.

Result on the troublesome "Empty field filters in live mode" suite:

Test Before After
match OR empty 1632ms <1s
exclude AND non-empty 6549ms 616ms

@isaachilly isaachilly self-assigned this Jun 10, 2026
@isaachilly isaachilly marked this pull request as ready for review June 10, 2026 16:15
@isaachilly isaachilly requested a review from graduta as a code owner June 10, 2026 16:15
…f data to pass

Groupings of data in `fakeData.json` meant the live mode empty tests were having to wait a long time to get sufficient sample sizes (5) based on their filters.

If we randomise the order they fire in then we reduce the chance of these groupings and overall reduce the average time for these types of test.
@isaachilly isaachilly changed the title [OGUI-1193] Add larger buffer for timeouts on macOS [OGUI-1193] Shuffle fakeData.json to remove groupings of similar logs Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant