YARN-8974. Improve the assertion message in TestGPUResourceHandler. (Zhankun Tang via wangda)

Change-Id: I4eb58e9d251d5f54e7feffc4fbb813b4f5ae4b1b
This commit is contained in:
Wangda Tan 2018-11-28 14:36:30 -08:00
parent 9ed87567ad
commit 8ebeda98a9
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ public class TestGpuResourceHandler {
caughtException = true; caughtException = true;
} }
Assert.assertTrue( Assert.assertTrue(
"Should fail since requested device Id is not in allowed list", "Should fail since requested device Id is already assigned",
caughtException); caughtException);
// Make sure internal state not changed. // Make sure internal state not changed.