THRIFT-1814 Minor D library fixes
fix a few tiny issues in the D library so that it compiles using the upcoming 2.061 DMD release
Patch: David Nadlinger
diff --git a/lib/d/test/transport_test.d b/lib/d/test/transport_test.d
index 3f61a5d..09bf6fd 100644
--- a/lib/d/test/transport_test.d
+++ b/lib/d/test/transport_test.d
@@ -669,7 +669,7 @@
// each send() call. If we have more than ~400 outstanding 1-byte write
// requests, additional send() calls start blocking.
testRw!CoupledSocketTransports(1024 * 16, 1, 1,
- 0, 0, 400);
+ 0, 0, 250);
testRw!CoupledSocketTransports(1024 * 256, 0, 0,
rand4k, rand4k, socketMaxOutstanding);
testRw!CoupledSocketTransports(1024 * 256, rand4k, rand4k,
@@ -677,7 +677,7 @@
testRw!CoupledSocketTransports(1024 * 256, 167, 163,
rand4k, rand4k, socketMaxOutstanding);
testRw!CoupledSocketTransports(1024 * 16, 1, 1,
- rand4k, rand4k, 400);
+ rand4k, rand4k, 250);
testBlocking!CoupledSocketTransports();