Fixed logger for Spam test

This commit is contained in:
Robinson 2021-04-30 22:17:26 +02:00
parent 048b780e2f
commit cdeb4fce63

View File

@ -31,10 +31,6 @@ class RmiSpamAsyncTest : BaseTest() {
private val RMI_ID = 12251
init {
// the logger cannot keep-up if it's on trace
setLogLevel(Level.DEBUG)
}
@Test
fun rmiNetworkAsync() {
@ -62,6 +58,9 @@ class RmiSpamAsyncTest : BaseTest() {
val configuration = serverConfig()
config(configuration)
// the logger cannot keep-up if it's on trace
setLogLevel(Level.DEBUG)
configuration.serialization.registerRmi(TestObject::class.java, TestObjectImpl::class.java)
server = Server(configuration)
@ -77,6 +76,9 @@ class RmiSpamAsyncTest : BaseTest() {
val configuration = clientConfig()
config(configuration)
// the logger cannot keep-up if it's on trace
setLogLevel(Level.DEBUG)
client = Client<Connection>(configuration)
addEndPoint(client)