From 69e4cc61395b08b5da463bde6aaa828f8d0c573a Mon Sep 17 00:00:00 2001 From: "Peter D. Barnes, Jr." Date: Fri, 20 Feb 2015 14:20:35 -0800 Subject: [PATCH] Attribute test vectors assume ns Time resolution. Since these are tests of Attributes per se, not Time, forcing the resolution should not hide other issues with Attributes. --- src/core/test/attribute-test-suite.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/test/attribute-test-suite.cc b/src/core/test/attribute-test-suite.cc index 6689d2c41..5286a82a6 100644 --- a/src/core/test/attribute-test-suite.cc +++ b/src/core/test/attribute-test-suite.cc @@ -692,6 +692,9 @@ AttributeTestCase::DoRun (void) p = CreateObject (); NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObject"); + // The test vectors assume ns resolution + Time::SetResolution (Time::NS); + // // Set value //