4 $ENV{OBJECT_REMOTE_TEST_LOGGER} = 1;
7 use Object::Remote::FromData;
9 my $conn1 = Reconnector->new::on('-');
10 my $conn2 = $conn1->connect;
12 isa_ok($conn1, 'Object::Remote::Proxy');
13 isa_ok($conn2, 'Object::Remote::Proxy');
16 my $conn1_pid = $conn1->pid;
17 my $conn2_pid = $conn2->pid;
19 ok($root_pid != $conn1_pid, "Root and conn1 are not the same interpreter instance");
20 ok($root_pid != $conn2_pid, "Root and conn2 are not the same interpreter instance");
21 ok($conn1_pid != $conn2_pid, "conn1 and conn2 are not the same interpreter instance");
23 ok($conn1->ping eq "pong", "Ping success on conn1");
24 ok($conn2->ping eq "pong", "Ping success on conn2");
35 return Reconnector->new::on('-');