aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/alloc/AllocTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp
index ac67ce9..429f588 100644
--- a/tests/alloc/AllocTest.cpp
+++ b/tests/alloc/AllocTest.cpp
@@ -633,7 +633,8 @@ static unsigned alloc_many_tbfs(BTS *the_bts, unsigned min_class,
tfi2 = the_bts->tfi_find_free(dir, &trx_no2,
ms->current_trx()->trx_no);
OSMO_ASSERT(tfi != tfi2);
- OSMO_ASSERT(trx_no2 == ms->current_trx()->trx_no);
+ OSMO_ASSERT(tfi2 < 0 ||
+ trx_no2 == ms->current_trx()->trx_no);
}
ms_class += 1;