Skip to content

Commit 556d8a9

Browse files
committed
---
yaml --- r: 347119 b: refs/heads/master c: 2967b32 h: refs/heads/master i: 347117: 1cd0198 347115: 6f51c42 347111: 74fcbe6 347103: 538e4b3
1 parent cee034d commit 556d8a9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b1253c1381bfd63346c4fe9988f62016f9200b05
2+
refs/heads/master: 2967b3253bb161b8480b454f909a25daa725e606
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/validation-test/stdlib/StringMemoryTest.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func lowercase(_ str: String) -> String {
3333
/// Make sure the hash function does not leak.
3434

3535
let dict = [ "foo" : 1]
36-
for _ in 0 ..< 1_000_000 {
36+
for _ in 0 ..< 10_000_000 {
3737
if lookup("\u{1F1E7}\u{1F1E7}", dict) {
3838
print("Found?!")
3939
}
@@ -56,9 +56,9 @@ getrusage(RUSAGE_SELF, &usage)
5656
// CHECK: success
5757
// CHECK-NOT: failure
5858

59-
// We should not need 10MB for this.
60-
if usage.ru_maxrss > 10 * 1024 * 1024 {
61-
print("failure - should not need 10MB!")
59+
// We should not need 50MB for this.
60+
if usage.ru_maxrss > 50 * 1024 * 1024 {
61+
print("failure - should not need 50MB!")
6262
} else {
6363
print("success")
6464
}

0 commit comments

Comments
 (0)