Commit Graph

99 Commits

Author SHA1 Message Date
78f94ecb2d Configure mokitor Server mock as stubOnly (#8861)
A recent patch moved the internal unit tests to mokito, allowing
deep mocking to easily setup a mocked server instance.
While this change is useful, the server's Server#getItemFactory methods
is one of the hottest paths during unit testing, being called numerous
times by material tests.
As mokito mocks keep track of each invocation to allow for verifications
of invocations down the line, the server mock allocates a huge amount of
memory to keep track of all invocations, ultimately leading to an OOM
exception.

The previous solution solved this by increasing the tests memory to 2 GB,
however as of right now simply configuring the server mock as "stubOnly",
properly prevents the overflow of invocation records as none of the unit
test code relies on invocation verification.
2023-02-21 17:18:49 +01:00
6915dee3e3 Paper Plugins (#8108) 2023-02-19 09:57:10 -05:00
8242b76d95 [ci skip] Update paperweight to 1.5.1 (#8856) 2023-02-16 09:03:25 -07:00
bd166747a6 convert API/server tests to mockito (#8848)
* convert API tests to mockito

* convert server tests to mockito

* add co-author
2023-02-15 13:27:40 -08:00
18e27e77fd [ci skip] Update paperweight to 1.4.1 2023-01-06 09:43:31 +01:00
dd1e3865e5 Update paperweight to 1.4.0 2022-12-13 10:09:15 -07:00
0e45eeb9d2 Disable ATs from unapplied folder 2022-12-07 23:25:00 +00:00
d0386f21e8 First server patches 2022-12-07 18:08:55 +01:00
b7dd55ce72 API patches 2022-12-07 17:46:46 +01:00
b121c04895 Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08:00
f93eb6e135 update yarn param mappings (#8563) 2022-11-12 12:57:41 -08:00
bfdafa934b Build updates 2022-10-31 15:25:30 -07:00
2782b0c375 1.19.2 (#8250) 2022-08-05 15:58:34 -07:00
858aabab7c Move patches over, start with first few 2022-07-27 20:52:03 +02:00
c75561a354 Update paperweight to 1.3.8 2022-06-27 15:27:36 -07:00
8f89b31fe5 Update paperweight to 1.3.7 2022-06-12 13:43:58 -07:00
1148687a8d Prepare for 1.19 dev 2022-06-07 18:52:56 +02:00
ea9a831a7f Update ForgeFlower (#7857) 2022-05-29 12:54:25 -07:00
9423c662b9 [ci-skip] Update repository and API urls (#7835) 2022-05-20 17:12:30 +02:00
16f92f9507 Build updates
- update paperweight to 1.3.6
- update tiny-remapper to 0.8.2
2022-04-21 19:27:56 -07:00
9dcd740211 Replace third party repos with Paper repo (#7733)
we now mirror Fabric, Forge, and Mojang
2022-04-13 19:58:48 -07:00
38f9875028 Use patched spigot decompiler (#7706) 2022-04-07 09:36:19 -07:00
3634760ece Update decompiler & param mappings 2022-04-05 10:36:14 -07:00
a9bcb9deed Add printPaperVersion task 2022-03-04 09:41:03 +00:00
fd5b9dd153 Update paperweight to 1.3.5 2022-03-03 19:06:19 -07:00
da03d4a1bc Initial 1.18 update 2022-02-28 22:43:03 -07:00
af00288473 [ci skip] Update Gradle wrapper to 7.4 2022-02-21 13:44:17 -07:00
0e4463e7a1 [ci skip] Update paperweight to 1.3.4 2022-01-27 13:19:45 -07:00
2c861d2ae1 [ci skip] Update parameter mappings 2022-01-25 20:43:53 -07:00
63c0d09343 Update tiny-remapper 2022-01-25 20:22:49 -07:00
30e83fff8a Fixed FishingHook param mappings being swapped (#7243) 2022-01-02 22:24:33 -08:00
a648b50c27 [ci skip] Update shadow and remove semicolons from kotlin code 2021-12-31 14:28:13 -08:00
d3a2eb2c3e [ci skip] Change test logging settings to log by default (#7203) 2021-12-30 16:52:30 -05:00
402b213521 Update paperweight to 1.3.3 and shadow to 7.1.1 2021-12-21 01:14:41 -08:00
8177de729a Update paperweight to 1.3.2 2021-12-12 01:23:12 -08:00
0e985b7b3b Update to 1.18.1 (#7076) 2021-12-10 15:24:07 +01:00
0f7314ee80 Build updates (#6992) 2021-12-01 23:21:14 -08:00
16ba421c40 Update paperclip to v3.0.2 2021-12-01 09:28:22 +00:00
24a1e6f91d Update to paperweight 1.3.0 2021-11-30 19:10:15 -06:00
7d08c18917 Update paperclip and yarn mappings (#6943) 2021-11-28 00:33:00 -08:00
08ac01db8f Bump Paperclip and fix configuration cache issue 2021-11-27 21:06:16 -06:00
04ca580aa6 Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
716b4fce Revert SnakeYAML upgrade
ca6f8942 Update to Minecraft 1.18-rc3
57e7e952 #683: Add Player#showDemoScreen

CraftBukkit Changes:
c98abfb0 Update to Minecraft 1.18-rc3
9b258501 #960: Add Player#showDemoScreen
d9542247 Produce remapped jars after bootstrap jar
99f3ddde SPIGOT-6808: Fix RegionAccessor#getBiome

Spigot Changes:
b7a4222e Update to Minecraft 1.18-rc3
2021-11-26 17:58:39 -05:00
9809c9e47b Upgrade paperweight with bundler jar updates
This allows creating paperclip jars pre-patch (only the reobf'd jar for
now).
2021-11-26 00:08:46 -06:00
60caeea54e Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
d25437bc Update to Minecraft 1.18-pre8

CraftBukkit Changes:
5a39a236 Update to Minecraft 1.18-pre8

Spigot Changes:
7840c2af Update to Minecraft 1.18-pre8
2021-11-24 14:26:32 -08:00
0a667a7552 Update server build file 2021-11-24 13:27:16 -08:00
52a49941da Verify and fix build-data adjustments for 1.18 reobf 2021-11-24 03:25:37 -06:00
ed6d43ddb0 Prepare for updating server patches 2021-11-23 00:57:41 -08:00
4884189d8b Use correct decompile repo 2021-11-22 02:16:24 -08:00
630e7db10c java 17 2021-11-22 00:26:14 -08:00
6c146a6ac7 not local snapshot 2021-11-22 00:20:17 -08:00