Class dslab.transfer.TransferServerProtocolTest

2

tests

0

failures

0

ignored

6.037s

duration

100%

successful

Tests

Test Duration Result
defaultDmtpInteractionTest 3.015s passed
sendWithoutRecipient_returnsErrorOnSend 3.022s passed

Standard error

Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServer run
INFO: Creating serverSocket for dslab.transfer.TransferServer@4f2780a4
Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServerProtocolTest setUp
INFO: Waiting for server socket to appear
Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServer$Consumer consume
INFO: Queue currently empty. Waiting for messages to appear...
Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection shutdown
INFO: Shutting down client connection dslab.transfer.ClientConnection@230cb815
Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection run
INFO: Setting subject to: hello
Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection run
INFO: Setting data to: hello from junit
Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection shutdown
INFO: Shutting down client connection dslab.transfer.ClientConnection@13137acb
Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection shutdown
INFO: Shutting down client connection dslab.transfer.ClientConnection@230cb815
Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection shutdown
INFO: Shutting down client connection dslab.transfer.ClientConnection@13137acb
Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServer$Producer produce
INFO: Added message from trillian@earth.planet
to arthur@earth.planet
subject hello
data hello from junit
 to queue
Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServer$Consumer run
INFO: Consumer thread has been interrupted. Exiting...Thread[Thread-12,5,FailOnTimeoutGroup]
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServerProtocolTest setUp
INFO: Waiting for server socket to appear
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer run
INFO: Creating serverSocket for dslab.transfer.TransferServer@7f9374ad
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
INFO: Queue not empty. Processing message...
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
INFO: Took message from trillian@earth.planet
to arthur@earth.planet
subject hello
data hello from junit
 from queue
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
INFO: msg.getTo() contains: [arthur@earth.planet]
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
INFO: Trying to send message to arthur@earth.planet
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer domainLookup
INFO: Performing domain lookup for address arthur@earth.planet
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
INFO: Domain lookup successful. Port is: 11622
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer replayMessage
INFO: Replaying message for message: from trillian@earth.planet
to arthur@earth.planet
subject hello
data hello from junit
 on port 11622
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer sendErrorMail
INFO: Trying to send error mail to address trillian@earth.planet
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer domainLookup
INFO: Performing domain lookup for address trillian@earth.planet
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer sendErrorMail
SEVERE: Sending error mail failed because socket communication failed
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
INFO: Queue currently empty. Waiting for messages to appear...
Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection shutdown
INFO: Shutting down client connection dslab.transfer.ClientConnection@395b40fd
Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection run
INFO: Setting subject to: hello
Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection run
INFO: Setting data to: hello from junit
Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection shutdown
INFO: Shutting down client connection dslab.transfer.ClientConnection@69536688
Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer run
INFO: Consumer thread has been interrupted. Exiting...Thread[Thread-18,5,FailOnTimeoutGroup]
Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection shutdown
INFO: Shutting down client connection dslab.transfer.ClientConnection@395b40fd
Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection shutdown
INFO: Shutting down client connection dslab.transfer.ClientConnection@69536688