# HG changeset patch
# User Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
# Date 1633342819 -7200
# Node ID 73dbd211a3ba772433b2f89fe841ea2809560ef2
# Parent  b4d29515c22e189f7367d43bd4d9de77711e099b
Make current test name accessible

diff --git a/tests/TestRunner.java b/tests/TestRunner.java
--- a/tests/TestRunner.java
+++ b/tests/TestRunner.java
@@ -21,6 +21,7 @@ public class TestRunner {
 	public static final int VERBOSITY_SHOW_ALL = 2;
 	protected final String jdbcUrl;
 	private final int verbosity;
+	protected String currentTestName;
 	protected final WatchDog watchDog;
 	protected MonetConnection conn;
 	private Statement stmt;
@@ -95,6 +96,7 @@ public class TestRunner {
 	}
 
 	private synchronized boolean runTest(String testName, Method method) throws SQLException {
+		currentTestName = testName;
 		watchDog.setContext("test " + testName);
 		watchDog.setDuration(3_000);
 		outBuffer = new StringWriter();