graphdb: pass context to PruneGraphNodes

This commit is contained in:
Elle Mouton committed 2026-02-25 16:11:46 +02:00
1 parent 072244ee18
commit 13668ce45f
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -4044,7 +4044,7 @@ func TestPruneGraphNodes(t *testing.T) {
require.NoError(t, graph.UpdateEdgePolicy(ctx, edge1))
// We'll now initiate a around of graph pruning.
require.NoError(t, graph.PruneGraphNodes())
require.NoError(t, graph.PruneGraphNodes(ctx))
// At this point, there should be 3 nodes left in the graph still: the
// source node (which can't be pruned), and node 1+2. Nodes 1 and two