-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better E2E tests with the secondary server (#63)
* Better E2E tests with the secondary server * Support 1.20.4 tests
- Loading branch information
Showing
52 changed files
with
584 additions
and
369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
version: | ||
- 1.20.1 | ||
- 1.20.4 | ||
- 1.16.5 | ||
- 1.16.3 | ||
- 1.13.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,7 @@ bin/ | |
|
||
### Mac OS ### | ||
.DS_Store | ||
|
||
### Python ### | ||
/venv/ | ||
/.venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "java", | ||
"name": "debug proxy (in Docker)", | ||
"request": "attach", | ||
"hostName": "localhost", | ||
"port": 9010, | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "debug server (in Docker)", | ||
"request": "attach", | ||
"hostName": "localhost", | ||
"port": 9011, | ||
} | ||
] | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "run.py", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "run.py", | ||
"args": [ | ||
"velocity", | ||
"1.20.1", | ||
"test" | ||
], | ||
"cwd": "${workspaceFolder}/tests_e2e/", | ||
"console": "integratedTerminal", | ||
"justMyCode": true | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "debug proxy (in Docker)", | ||
"request": "attach", | ||
"hostName": "localhost", | ||
"port": 9010 | ||
}, | ||
{ | ||
"type": "java", | ||
"name": "debug server (in Docker)", | ||
"request": "attach", | ||
"hostName": "localhost", | ||
"port": 9011 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
test_env/ | ||
#jar/ | ||
debug.log | ||
|
||
.venv | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1 @@ | ||
version: "3.8" | ||
services: | ||
bot: | ||
build: | ||
context: bot | ||
environment: | ||
- BOT_HOST=proxy | ||
depends_on: | ||
- proxy | ||
server: | ||
build: | ||
context: server | ||
proxy: | ||
build: | ||
context: proxy | ||
depends_on: | ||
- server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2018 Velocity Contributors | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
--> | ||
|
||
<!-- Disable shutdown hook, because we have our own --> | ||
<Configuration status="warn" shutdownHook="disable"> | ||
<Appenders> | ||
<TerminalConsole name="TerminalConsole"> | ||
<PatternLayout> | ||
<LoggerNamePatternSelector | ||
defaultPattern="%highlightError{[%d{HH:mm:ss} %level] [%logger]: %minecraftFormatting{%msg}%n%xEx}"> | ||
<!-- Velocity doesn't need a prefix --> | ||
<PatternMatch key="com.velocitypowered." | ||
pattern="%highlightError{[%d{HH:mm:ss} %level]: %minecraftFormatting{%msg}%n%xEx}"/> | ||
</LoggerNamePatternSelector> | ||
</PatternLayout> | ||
</TerminalConsole> | ||
<RollingRandomAccessFile name="File" fileName="logs/latest.log" | ||
filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz" | ||
immediateFlush="false"> | ||
<PatternLayout | ||
pattern="[%d{HH:mm:ss}] [%t/%level] [%logger]: %minecraftFormatting{%msg}{strip}%n"/> | ||
<Policies> | ||
<TimeBasedTriggeringPolicy/> | ||
<OnStartupTriggeringPolicy/> | ||
</Policies> | ||
</RollingRandomAccessFile> | ||
</Appenders> | ||
|
||
<Loggers> | ||
<Root level="debug"> | ||
<AppenderRef ref="TerminalConsole"/> | ||
<AppenderRef ref="File"/> | ||
</Root> | ||
</Loggers> | ||
</Configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[overrides] | ||
1984 = 1337 | ||
|
||
[world_id.modern] | ||
enabled = true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
certifi==2023.11.17 | ||
charset-normalizer==3.3.2 | ||
idna==3.6 | ||
PyYAML==6.0.1 | ||
requests==2.31.0 | ||
toml==0.10.2 | ||
urllib3==2.1.0 |
Oops, something went wrong.