aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisi Liu <jisi.liu@gmail.com>2016-03-31 13:17:45 -0700
committerJisi Liu <jisi.liu@gmail.com>2016-03-31 13:17:45 -0700
commit9e7fa0678dca7b5f8f089b9aff80168e9c200258 (patch)
tree9f924a067b4af37be64cfcb33d940a97d777f0e8
parent0de06f54bc8253ba39eee9e8cc4c5de487a48835 (diff)
downloadprotobuf-9e7fa0678dca7b5f8f089b9aff80168e9c200258.tar.gz
protobuf-9e7fa0678dca7b5f8f089b9aff80168e9c200258.tar.bz2
protobuf-9e7fa0678dca7b5f8f089b9aff80168e9c200258.zip
Temporarily disable begin is fast test.
-rw-r--r--src/google/protobuf/map_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/google/protobuf/map_test.cc b/src/google/protobuf/map_test.cc
index 1f3de4fa..cda713f0 100644
--- a/src/google/protobuf/map_test.cc
+++ b/src/google/protobuf/map_test.cc
@@ -303,7 +303,8 @@ static int64 Now() {
// if one erases elements at the "front" of the hash map, and we'd like to
// avoid that, as std::unordered_map does.
TEST_P(MapImplTest, BeginIsFast) {
- if (GetParam()) return;
+ // Disable this test for both new and old implementations.
+ if (/*GetParam()*/true) return;
Map<int32, int32> map(false); // This test uses new-style maps only.
const int kTestSize = 250000;
for (int i = 0; i < kTestSize; i++) {