tests: Filter loader specific error.

Change-Id: I09259f443c6268753fb2c46e77d725e204efc142
diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp
index 41ec373..cb3e4ef 100644
--- a/tests/layer_validation_tests.cpp
+++ b/tests/layer_validation_tests.cpp
@@ -11406,7 +11406,9 @@
 
     m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT,
                                          "Invalid queue create request in vkCreateDevice(). Invalid queueFamilyIndex ");
-    m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "Failed to create device chain.");
+    // The following unexpected error is coming from the LunarG loader. Do not make it a desired message because platforms that do
+    // not use the LunarG loader (e.g. Android) will not see the message and the test will fail.
+    m_errorMonitor->SetUnexpectedError("Failed to create device chain.");
     vkCreateDevice(gpu(), &device_create_info, nullptr, &testDevice);
     m_errorMonitor->VerifyFound();
 
@@ -11420,7 +11422,9 @@
             device_create_info.pEnabledFeatures = &features;
             m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT,
                                                  "While calling vkCreateDevice(), requesting feature #");
-            m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT, "Failed to create device chain.");
+            // The following unexpected error is coming from the LunarG loader. Do not make it a desired message because platforms
+            // that do not use the LunarG loader (e.g. Android) will not see the message and the test will fail.
+            m_errorMonitor->SetUnexpectedError("Failed to create device chain.");
             m_errorMonitor->SetDesiredFailureMsg(VK_DEBUG_REPORT_ERROR_BIT_EXT,
                                                  "You requested features that are unavailable on this device. You should first "
                                                  "query feature availability by calling vkGetPhysicalDeviceFeatures().");