Added more test output
authorkhizmax <libcds.dev@gmail.com>
Tue, 17 Jan 2017 19:05:35 +0000 (22:05 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 17 Jan 2017 19:05:35 +0000 (22:05 +0300)
test/unit/tree/test_intrusive_tree.h

index 7b9d42669df7e3cae03169e47b3b0322d5663454..687b56046af136d2b10779f26ecea20841e83110 100644 (file)
@@ -449,7 +449,7 @@ namespace cds_test {
             // Force retiring cycle
             Tree::gc::force_dispose();
             for ( auto& i : data ) {
             // Force retiring cycle
             Tree::gc::force_dispose();
             for ( auto& i : data ) {
-                EXPECT_EQ( i.nDisposeCount, 1u );
+                EXPECT_EQ( i.nDisposeCount, 1u ) << "key=" << i.key();
             }
 
             // clear
             }
 
             // clear
@@ -470,7 +470,7 @@ namespace cds_test {
             // Force retiring cycle
             Tree::gc::force_dispose();
             for ( auto& i : data ) {
             // Force retiring cycle
             Tree::gc::force_dispose();
             for ( auto& i : data ) {
-                EXPECT_EQ( i.nDisposeCount, 1u );
+                EXPECT_EQ( i.nDisposeCount, 1u ) << "key=" << i.key();
             }
         }
     };
             }
         }
     };