An update on this - the test works as expected on Ignite versions 2.6 and earlier. It appears to be a bug introduced in Ignite 2.7. I have raised the following jira ticket to track:
https://issues.apache.org/jira/browse/IGNITE-12096 -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/