From ba9a3a7d3c744d78b55a8b3765e29ba431a2e965 Mon Sep 17 00:00:00 2001 From: Benjamin Lorenz Date: Tue, 23 Jul 2024 16:46:31 +0100 Subject: [PATCH 1/2] booktest: explicitly destroy mongodb db and client --- .../kuehne-schroeter-matroids/realization_space.jlcon | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/book/specialized/kuehne-schroeter-matroids/realization_space.jlcon b/test/book/specialized/kuehne-schroeter-matroids/realization_space.jlcon index b6b82ceba9fa..b087cc0e18a4 100644 --- a/test/book/specialized/kuehne-schroeter-matroids/realization_space.jlcon +++ b/test/book/specialized/kuehne-schroeter-matroids/realization_space.jlcon @@ -124,3 +124,7 @@ One realization is given by [0 1 1 0 1 1 1 1 1] [0 0 0 1 2 3 6 3 2] in the rational field + +julia> Polymake.Polydb.Mongoc.destroy!(db.mdb.client); + +julia> Polymake.Polydb.Mongoc.destroy!(db.mdb); From 545b3be05f0c0f000648f9e2d07dbcb7474fe265 Mon Sep 17 00:00:00 2001 From: Benjamin Lorenz Date: Tue, 23 Jul 2024 17:44:51 +0100 Subject: [PATCH 2/2] booktest-polydb-cleanup: try nicer cleanup --- .../kuehne-schroeter-matroids/realization_space.jlcon | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/book/specialized/kuehne-schroeter-matroids/realization_space.jlcon b/test/book/specialized/kuehne-schroeter-matroids/realization_space.jlcon index b087cc0e18a4..5aff6d593ef4 100644 --- a/test/book/specialized/kuehne-schroeter-matroids/realization_space.jlcon +++ b/test/book/specialized/kuehne-schroeter-matroids/realization_space.jlcon @@ -125,6 +125,4 @@ One realization is given by [0 0 0 1 2 3 6 3 2] in the rational field -julia> Polymake.Polydb.Mongoc.destroy!(db.mdb.client); - -julia> Polymake.Polydb.Mongoc.destroy!(db.mdb); +julia> results = collection = db = 0; # allow connection cleanup