Project

General

Profile

Actions

Feature #2209

open

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

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

Status:
New
Priority:
Low
Assignee:
-
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 testNew04/27/2017

Actions
Actions #1

Updated by neels almost 7 years 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

Actions #2

Updated by neels almost 7 years ago

  • Priority changed from High to Normal
Actions #3

Updated by laforge almost 7 years ago

  • Assignee deleted (118)
Actions #4

Updated by laforge almost 7 years ago

  • Assignee set to 55360
Actions #5

Updated by neels almost 7 years ago

  • Priority changed from Normal to High
Actions #6

Updated by neels almost 7 years ago

  • Priority changed from High to Low
Actions #7

Updated by neels almost 7 years ago

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)