Commit a1fe4dd
committed
testsuite: test Python KVS more thoroughly
Problem: In python/t0005-kvs.py, the set_and_check_context() function
uses the same KVSDir object to write and read a value back. This doesn't
ensure that the KVS data was actually commited to the KVS successfully,
as the data may just be locally cached in the KVSDir object.
Solution: After performing a KVS commit, open a new KVSDir object to ensure
the data has been written to the KVS correctly.1 parent 9274b9c commit a1fe4dd
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
| 44 | + | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
| |||
0 commit comments