Project

General

Profile

Feature #2209

osmo-gsm-tester: add test API to explicitly free a resource

Added by neels 9 months ago. Updated 8 months ago.

Status:
New
Priority:
Low
Assignee:
osmo-gsm-tester
Target version:
-
Start date:
04/27/2017
Due date:
% Done:

0%

Spec Reference:

Description

resources like nitb, bts, modem are torn down automatically at the end of a test script or a suite, but the test script should be able to free such explicitly. (Note that a resource is always reserved for a suite no matter what; this issue asks only for the automatic cleanup being triggered and toggling the "used" flag back to "unused" -- and possibly back to "used" later on.)


Related issues

Related to OsmoGSMTester - Feature #2208: osmo-gsm-tester: allow running binaries for a whole suite, or only for a single test New 04/27/2017

History

#1 Updated by neels 9 months ago

For example:

nitb = suite.nitb()
ms = suite.modem()
nitb.start()
ms.connect(...)
[...]
suite.free(ms)
suite.free(nitb)
[...]
ms = suite.modem()  # the same modem comes back, since it was freed

#2 Updated by neels 9 months ago

  • Priority changed from High to Normal

#3 Updated by laforge 8 months ago

  • Assignee deleted (Osmocom Developers)

#4 Updated by laforge 8 months ago

  • Assignee set to osmo-gsm-tester

#5 Updated by neels 8 months ago

  • Priority changed from Normal to High

#6 Updated by neels 8 months ago

  • Priority changed from High to Low

#7 Updated by neels 8 months ago

  • Related to Feature #2208: osmo-gsm-tester: allow running binaries for a whole suite, or only for a single test added

Also available in: Atom PDF