Compare commits
2 commits
master
...
test-rakne
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b50e7a8d67 |
||
|
|
a421ed2773 |
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ const { createClient, Server, Relay } = require('bedrock-protocol')
|
||||||
const { sleep, waitFor } = require('../src/datatypes/util')
|
const { sleep, waitFor } = require('../src/datatypes/util')
|
||||||
const { getPort } = require('./util')
|
const { getPort } = require('./util')
|
||||||
|
|
||||||
function proxyTest (version, raknetBackend = 'raknet-native', timeout = 1000 * 40) {
|
function proxyTest (version, raknetBackend = 'raknet-node', timeout = 1000 * 40) {
|
||||||
console.log('with raknet backend', raknetBackend)
|
console.log('with raknet backend', raknetBackend)
|
||||||
return waitFor(async res => {
|
return waitFor(async res => {
|
||||||
const SERVER_PORT = await getPort()
|
const SERVER_PORT = await getPort()
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ async function test (version) {
|
||||||
port,
|
port,
|
||||||
username: 'Notch',
|
username: 'Notch',
|
||||||
version,
|
version,
|
||||||
raknetBackend: 'raknet-native',
|
raknetBackend: 'raknet-node',
|
||||||
offline: true
|
offline: true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue