Closed jnthn closed 4 years ago
I'm also getting occasional failures on the same line when I stress this test:
$ git diff
diff --git a/t/99doc-examples.t b/t/99doc-examples.t
index 84dfbe6..2a18b72 100644
--- a/t/99doc-examples.t
+++ b/t/99doc-examples.t
@@ -66,7 +66,8 @@ subtest 'LibXML::CDATA' => {
}
subtest 'LibXML::Document' => {
- plan 8;
+ plan 800;
+ for 1 .. 100 {
use LibXML;
my $version = '1.0';
my $enc = 'UTF-8';
@@ -160,6 +161,7 @@ subtest 'LibXML::Document' => {
is $doc.encoding, 'ISO-8859-15';
$doc .= parse(' <x>zzz</x>');
is $doc.root.Str, '<x>zzz</x>';
+ }
};
E.g.
$ prove -e'raku -I .' t/99doc-examples.t
t/99doc-examples.t .. 1/18 node type not yet handled: 1861957056
in block at /tmp/LibXML-raku/lib/LibXML/Native.rakumod (LibXML::Native) line 1231
src/xml6_ref.c:75: 0x560870323ef0 is not owned by us, or is corrupted
Cannot resolve caller TWEAK(LibXML::Dtd:D: :native(LibXML::Native::anyNode), :doc(LibXML::Document)); none of these signatures match:
(LibXML::Dtd: LibXML::Native::xmlDtd:D :native($)!, *%_)
(LibXML::Dtd: Str:D :$type!, LibXML::Node :doc($owner), Str:D :$name!, Str :$external-id, Str :$system-id, *%_)
in method new at /tmp/LibXML-raku/lib/LibXML/Dtd.rakumod (LibXML::Dtd) line 102
in code at /tmp/LibXML-raku/lib/LibXML/Item.rakumod (LibXML::Item) line 189
in method box at /tmp/LibXML-raku/lib/LibXML/Item.rakumod (LibXML::Item) line 185
in block at t/99doc-examples.t line 152
in sub subtest at /home/david/git/rakudo/install/share/perl6/core/sources/2D4A7CA10695CD2B374573413D261A660E282E2A (Test) line 430
in sub subtest at /home/david/git/rakudo/install/share/perl6/core/sources/2D4A7CA10695CD2B374573413D261A660E282E2A (Test) line 419
in block <unit> at t/99doc-examples.t line 68
# You planned 800 tests, but ran 734
Fixed in 95d5891
I just got this:
However, the next attempt was successful (and I've not seen this happen before either).