[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/test/gzz/mem partition.test
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/test/gzz/mem partition.test |
Date: |
Wed, 08 Jan 2003 10:38:54 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 03/01/08 10:38:53
Modified files:
test/gzz/mem : partition.test
Log message:
Ok, sizing works reasonably now
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/mem/partition.test.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: gzz/test/gzz/mem/partition.test
diff -u gzz/test/gzz/mem/partition.test:1.3 gzz/test/gzz/mem/partition.test:1.4
--- gzz/test/gzz/mem/partition.test:1.3 Wed Jan 8 10:08:19 2003
+++ gzz/test/gzz/mem/partition.test Wed Jan 8 10:38:53 2003
@@ -39,3 +39,18 @@
waitFor(lambda: b.rese == 230)
+
+def testLoading3():
+ """Test that two important and one less important blocks
+ load and that the less important block is smaller.
+ """
+ b = Reserver()
+ c = Reserver()
+ d = Reserver()
+
+ pool.request(b, .5, 1, None)
+ pool.request(c, .25, 1, None)
+ pool.request(d, .5, 1, None)
+
+ waitFor(lambda: b.rese == 230 and d.rese == 230 and 1 < c.rese < 220 )
+
- [Gzz-commits] gzz/test/gzz/mem partition.test,
Tuomas J. Lukka <=