Skip to content

Commit

Permalink
JPERF-573: Add visited projects to JQL memory
Browse files Browse the repository at this point in the history
This change is already present in `JiraCoreScenario`.
It addresses problem when other sources of JQLs are not valid in dataset of tested Jira.
e.g. if we don't have resolved issues.
It transitively also addresses problem when non-JQL sources of issues are not valid.
e.g. if browse boards doesn't return any board or all remembered boards are empty
  • Loading branch information
pczuj committed Aug 3, 2023
1 parent cfdceb6 commit 2822e3c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
13 changes: 9 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ Dropping a requirement of a major version of a dependency is a new contract.
## [Unreleased]
[Unreleased]: https://github.com/atlassian/jira-software-actions/compare/release-1.5.0...master

### Fixed
- In `JiraSofwtareScenario` add 3 first visited projects to JQL memory. Mitigate [JPERF-573].

[JPERF-573]: https://ecosystem.atlassian.net/browse/JPERF-573

## [1.5.0] - 2023-07-07
[1.5.0]: https://github.com/atlassian/jira-software-actions/compare/release-1.4.3...release-1.5.0

Expand All @@ -36,23 +41,23 @@ Dropping a requirement of a major version of a dependency is a new contract.
[1.4.3]: https://github.com/atlassian/jira-software-actions/compare/release-1.4.2...release-1.4.3

### Fixed
- Include `ViewHistoryTabAction` and `ViewCommentAction` in `JiraSoftwareScenario`. Resolve [JPERF-813]
- Include `ViewHistoryTabAction` and `ViewCommentAction` in `JiraSoftwareScenario`. Resolve [JPERF-813].

[JPERF-813]: https://ecosystem.atlassian.net/browse/JPERF-813

## [1.4.2] - 2022-12-20
[1.4.2]: https://github.com/atlassian/jira-software-actions/compare/release-1.4.1...release-1.4.2

### Fixed
- Set the sprint name used for editing sprint to a random value. Resolve [JPERF-906]
- Set the sprint name used for editing sprint to a random value. Resolve [JPERF-906].

[JPERF-906]: https://ecosystem.atlassian.net/browse/JPERF-906

## [1.4.1] - 2022-12-15
[1.4.1]: https://github.com/atlassian/jira-software-actions/compare/release-1.4.0...release-1.4.1

### Fixed
- Fix flakiness of `WorkOnBacklog` action caused by AUI Flag obscuring edit sprint button. Resolve [JPERF-903]
- Fix flakiness of `WorkOnBacklog` action caused by AUI Flag obscuring edit sprint button. Resolve [JPERF-903].

[JPERF-903]: https://ecosystem.atlassian.net/browse/JPERF-903

Expand Down Expand Up @@ -119,7 +124,7 @@ Empty release to test changes in release process.

### Added
- Let virtual users use their own filter predicates instead of the built-in `isWorthVisiting` method
- Make the module `jira-actions` 3.x compatibile. Unlocks [JPERF-127] and [JPERF-150]
- Make the module `jira-actions` 3.x compatibile. Unlocks [JPERF-127] and [JPERF-150].

[JPERF-127]: https://ecosystem.atlassian.net/browse/JPERF-127
[JPERF-150]: https://ecosystem.atlassian.net/browse/JPERF-150
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,16 @@ class JiraSoftwareScenario : Scenario {
seededRandom: SeededRandom,
meter: ActionMeter
): List<Action> {
val projectMemory = AdaptiveProjectMemory(random = seededRandom)
val jqlMemory = AdaptiveJqlMemory(seededRandom)
val projectMemory = JqlRememberingProjectMemory
.Builder(
delegate = AdaptiveProjectMemory(random = seededRandom),
jqlMemory = LimitedJqlMemory(
delegate = jqlMemory,
limit = 3
)
)
.build()
val issueKeyMemory = AdaptiveIssueKeyMemory(seededRandom)
val issueMemory = AdaptiveIssueMemory(issueKeyMemory, seededRandom)
val agileBoardMemory = AdaptiveBoardMemory<AgileBoard>(seededRandom)
Expand Down

0 comments on commit 2822e3c

Please sign in to comment.