rpuch commented on a change in pull request #567:
URL: https://github.com/apache/ignite-3/pull/567#discussion_r788793240



##########
File path: 
modules/network/src/test/java/org/apache/ignite/internal/network/serialization/marshal/DefaultUserObjectMarshallerWithArbitraryObjectsTest.java
##########
@@ -478,6 +491,112 @@ void 
unmarshalsDifferentButEqualObjectsToDifferentObjects() throws Exception {
         assertThat(unmarshalled.get(0), 
not(sameInstance(unmarshalled.get(1))));
     }
 
+    public static void main(String[] args) throws Exception {
+        new 
DefaultUserObjectMarshallerWithArbitraryObjectsTest().generateTestData();
+    }
+
+    private void generateTestData() throws Exception {
+        MarshalledObject marshalled = marshaller.marshal(testProxyInstance());
+
+        List<ClassDescriptor> remoteDescriptors = marshalled.usedDescriptors()
+                .stream()
+                .filter(descriptor -> descriptor.descriptorId() >= 1000)
+                .sorted(comparing(ClassDescriptor::descriptorId))
+                .collect(toList());
+        try (
+                OutputStream fos = 
Files.newOutputStream(Paths.get("modules/network/src/test/resources/marshalled-proxy-classes.bin"));

Review comment:
       Removed the test as it seems to have little value




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to