1. GrouperProvisioningLogicIncremental.java — Added public static method to clear the message queue cache:
{{public static void clearProvisioningMessageQueuesWithMessagesCache()
}}
2. ProvisioningMessage.java — send() now automatically invalidates the cache after sending, so any same-JVM provisioner run will re-check the queue:
GrouperProvisioningLogicIncremental.clearProvisioningMessageQueuesWithMessagesCache();
3. SqlProvisionerTest.java — Added explicit cache clear before the second incrementalProvision() call (belt and suspenders with the send() fix), plus the import.
With the send() fix, the explicit clear in the test is technically redundant now — but it's still good documentation of WHY the cache matters. The send() fix will also help any other tests that have USDU-then-incremental patterns.