Skip to content

Commit

Permalink
Update spring for mockserver to fix startup
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Sep 23, 2023
1 parent e643615 commit e287a6d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/system-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
mvn --batch-mode install -DskipTests -T 1C
cd other/mockserver/
mvn --batch-mode spring-boot:build-image
docker tag mockserver:3.0.0 ghcr.io/theotherp/mockserver:3.0.0
docker push ghcr.io/theotherp/mockserver:3.0.0
docker tag mockserver:3.1.0 ghcr.io/theotherp/mockserver:3.1.0
docker push ghcr.io/theotherp/mockserver:3.1.0
runSystemTests:
needs: [ waitForNative, buildMockserver ]
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/nzbhydra/historystats/Stats.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ List<AverageResponseTime> averageResponseTimes(final StatsRequest statsRequest)
* Calculates how unique a downloaded result was, i.e. how many other indexers could've (or not could've) provided the same result.
*/
@Transactional(readOnly = true)
List<IndexerScore> indexerScores(final StatsRequest statsRequest) {
public List<IndexerScore> indexerScores(final StatsRequest statsRequest) {
Stopwatch stopwatch = Stopwatch.createStarted();
logger.debug("Calculating indexer result uniqueness scores");

Expand Down
2 changes: 2 additions & 0 deletions core/src/main/resources/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
text: "Hard crashes of the main process will now be logged properly. See #892"
- type: "note"
text: "All these changes require the wrapper files to be updated."
- type: "note"
text: "I also updated a lot of libraries - hopefully no bugs ;-)"
final: true
- version: "v5.1.11"
date: "2023-09-01"
Expand Down
6 changes: 3 additions & 3 deletions other/mockserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
</parent>

<!-- Update tag of built docker container image in build scripts -->
<version>3.0.0</version>
<version>3.1.0</version>
<artifactId>mockserver</artifactId>

<properties>
<spring.boot.version>3.0.1</spring.boot.version>
<spring.oxm.version>6.0.2</spring.oxm.version>
<spring.boot.version>3.1.4</spring.boot.version>
<spring.oxm.version>6.0.12</spring.oxm.version>
<spring.test.version>6.0.0</spring.test.version>
<spring.security.test.version>4.2.3.RELEASE</spring.security.test.version>
<jackson.version>2.8.9</jackson.version>
Expand Down
2 changes: 1 addition & 1 deletion tests/system/src/test/java/org/nzbhydra/StatsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void shouldLoadStats() throws Exception {
StatsRequest request = new StatsRequest();
request.setAfter(Instant.now().minusSeconds(60 * 60));
//Something fucky going on, I don't care right now
request.setBefore(Instant.now().plusSeconds(60 * 60));
request.setBefore(Instant.now().plusSeconds(60 * 60 * 24));
request.setIndexerApiAccessStats(true);
request.setAvgIndexerUniquenessScore(true);
request.setAvgResponseTimes(true);
Expand Down

0 comments on commit e287a6d

Please sign in to comment.