jclouds / legacy-jclouds-labs

https://jclouds.apache.org
0 stars 18 forks source link

Nodepool NodeMetadataStoreTest.testDeleteMapping fails on Windows #13

Open demobox opened 11 years ago

demobox commented 11 years ago

mvn clean test run against d8a2bff (Windows 7, JDK 1.6.0_20 and 1.7.0_07)

Failed tests:   testDeleteMapping(org.jclouds.nodepool.NodeMetadataStoreTest): e
xpected [null] but found [{id=testmeta1, group=testgroup, status=ERROR, loginPor
t=22, loginUser=testuser, tags=[tag1, tag2], userMetadata={testmetakey=testmetav
alue, testmetakey2=testmetavalue2}}]

The underlying problem is described in this issue that was not (yet) migrated from Google Code: since JsonNodeMetadataStore's "delete" implementation calls InputStreamMap.remove.

There doesn't seem to be any real solution here other than either

@adriancole @dralves Thoughts?