52 |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE |
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE |
53 |
# OR OTHER DEALINGS IN THE SOFTWARE. |
# OR OTHER DEALINGS IN THE SOFTWARE. |
54 |
|
|
55 |
import gzz |
import java, gzz |
56 |
|
|
57 |
map = gzz.modules.gispmap.GispP2PMap() |
map1 = gzz.modules.gispmap.GispP2PMap() |
58 |
|
map2 = gzz.modules.gispmap.GispP2PMap(map1.getGisp().getMyAddress()) |
59 |
|
|
60 |
execfile('lava/test/gzz/storm/impl/P2PMap.meta') |
execfile('lava/test/gzz/storm/impl/P2PMap.meta') |
61 |
|
|
62 |
|
testSimple.__doc__ = "\n\ncost: 10\n" |
63 |
|
|
64 |
|
def beforePut(): |
65 |
|
print 'waiting for GISP to initialize (20 sec)' |
66 |
|
java.lang.Thread.sleep(20000) |
67 |
|
|
68 |
|
def afterPut(): |
69 |
|
print 'waiting for GISP to insert the item... (20 sec)' |
70 |
|
java.lang.Thread.sleep(20000) |