Project

General

Profile

Actions

Feature #2199

closed

Feature #2193: write osmo-gsm-tester test cases and extend tester API

osmo-gsm-tester: provide API to reflect whether an osmo-nitb has started successfully

Added by neels almost 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Target version:
-
Start date:
04/26/2017
Due date:
% Done:

0%

Spec Reference:

Description

The mo_mt_sms.py test has a sleep(1) to wait for the osmo-nitb to startup.
The intention is to give it a moment to parse the config file and fail immediately in case startup failed.

Technically, this is not necessary at all. The tester would notice by itself if the nitb process has terminated prematurely. Nevertheless it is good to have API to wait for the osmo-nitb to state some particular message on stdout or the log that reflects that the config has been read and all ports are listening. Add such API (reading stdout/stderr? using CTRL?) and use this in the mo_mt_sms.py test to replace the sleep(1).

This is low priority, we can just remove the sleep(1) and 'assert nitb.running()' lines, relying on the standard process polling, without affecting the test results.

Actions #1

Updated by laforge almost 7 years ago

  • Assignee deleted (118)
Actions #2

Updated by laforge almost 7 years ago

  • Assignee set to 55360
Actions #3

Updated by neels almost 7 years ago

  • Status changed from New to Rejected

not needed

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)