Test TestServerMonitoring reports connectivity issues with connection to mail server (#15)
Andrzej Wójcik (Tigase) opened 7 years ago

During execution of tigase.tests.server.TestServerMonitoring we are getting contstantly following error:

2017-10-04 14:22:07 | Couldn't connect to host, port: mail.tigase.org, 993; timeout -1

During this test MonitorComponent sends an email and test wants to confirm delivery of this notification from component to make sure that code responsible for email delivery works fine.

Andrzej Wójcik (Tigase) commented 7 years ago

From what I understand our POP3/IMAP server at mail.tigase.org is now permanently off and due to that test fails.

What should we do to make it work?

  • create a mail server at build.tigase.org, so it would be part of this environment? (non critical)

  • create some free mail account and use it for testing this feature?

  • something else?

And one more thing. If I'm correct then POP3/IMAP at mail.tigase.org is down, but SMTP still works.

Artur Hefczyc commented 7 years ago

What do we need exactly for this test to work? SMTP, IMAP4 and test account?

Andrzej Wójcik (Tigase) commented 7 years ago

We need a SMTP to send an email and IMAP4 to receive it and confirm delivery. I suppose that for this kind of tests we can use some external but free service.

Artur Hefczyc commented 7 years ago

I think we should have the complete testing system on our own. So if it requires email server, then we should have it. However, we will be migrating the testing system to cloud anyway, so I think it does not make sense to spend too much time on solving the problem right now.

Please apply a quick solution, whatever works for now. And once we get to migration of this system we will think of a good architecture to have a complete system for our tests.

Andrzej Wójcik (Tigase) commented 7 years ago

I've created two test accounts at gmail.com and adjusted test. Now tests are passing and in future, we may replace it with the different service provider.

wojciech.kapcia@tigase.net commented 7 years ago

I see green!

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
6190
Issue Votes (0)
Watchers (0)
Reference
tigase/tigase-tts-ng#15
Please wait...
Page is in error, reload to recover