diff --git a/testsuite/expect/test12.3 b/testsuite/expect/test12.3
index c64fce4f13ef8cf31f504774f8e872e9f91d7325..31b3c27055bb2a46430370fa9f002b3bc79f2ef0 100755
--- a/testsuite/expect/test12.3
+++ b/testsuite/expect/test12.3
@@ -47,6 +47,14 @@ set test_acct	"slurm_test-account.1"
 
 print_header $test_id
 
+#
+# Checks if test is running on blue gene.
+#
+if {[test_bluegene]} {
+	send_user "\nWARNING: This test can't be run on a blue gene\n"
+	exit $exit_code
+}
+
 #
 # Check accounting config and bail if not found.
 #