gchq / gchq/sleeper

Test overriding results publishing config in WebSocketQueryProcessorLambda

Open
#7,957 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
107
Forks
29
Avg merge
19h 46m
Merged PRs (30d)
141

Description

The following bug was resolved by a change to how the results publishing configuration is overridden in WebSocketQueryProcessorLambda, but no new tests were added for the change:

- https://github.com/gchq/sleeper/issues/7916
- https://github.com/gchq/sleeper/pull/7917

We want test coverage of this change to ensure this bug does not reoccur.

Currently this class has no tests at all.

Contributor guide

Open the contributing guide

Research direction

Start with WebSocketQueryProcessorLambda and review issue 7916 plus pull request 7917 to understand the results-publishing override that was changed. Add regression coverage for that behavior, then run the relevant Java test suite; done means the class has tests that would fail if the resolved bug returns.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.