Browse Source

[2267] temporarily disabled some tests, which should expect a different result.

JINMEI Tatuya 12 years ago
parent
commit
eb64f1c38d
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/lib/datasrc/memory/tests/memory_client_unittest.cc

+ 6 - 3
src/lib/datasrc/memory/tests/memory_client_unittest.cc

@@ -476,7 +476,8 @@ TEST_F(MemoryClientTest, loadDNAMEAndNSNonApex2) {
     // Teardown checks for memory segment leaks
 }
 
-TEST_F(MemoryClientTest, loadRRSIGFollowsNothing) {
+// Disable for now: we should actually allow this case.
+TEST_F(MemoryClientTest, DISABLED_loadRRSIGFollowsNothing) {
     EXPECT_THROW(client_->load(Name("example.org"),
                                TEST_DATA_DIR
                                "/example.org-rrsig-follows-nothing.zone"),
@@ -484,7 +485,8 @@ TEST_F(MemoryClientTest, loadRRSIGFollowsNothing) {
     // Teardown checks for memory segment leaks
 }
 
-TEST_F(MemoryClientTest, loadRRSIGNameUnmatched) {
+// Disable for now: we should actually allow this case.
+TEST_F(MemoryClientTest, DISABLED_loadRRSIGNameUnmatched) {
     EXPECT_THROW(client_->load(Name("example.org"),
                                TEST_DATA_DIR
                                "/example.org-rrsig-name-unmatched.zone"),
@@ -492,7 +494,8 @@ TEST_F(MemoryClientTest, loadRRSIGNameUnmatched) {
     // Teardown checks for memory segment leaks
 }
 
-TEST_F(MemoryClientTest, loadRRSIGTypeUnmatched) {
+// Disable for now: we should actually allow this case.
+TEST_F(MemoryClientTest, DISABLED_loadRRSIGTypeUnmatched) {
     EXPECT_THROW(client_->load(Name("example.org"),
                                TEST_DATA_DIR
                                "/example.org-rrsig-type-unmatched.zone"),