2htdp/universe tests: try other port numbers
Follow-up to 268544d565: it looks like DrDr may itself use port 9000. Try to pick numbers that no one else is thinking of...
This commit is contained in:
parent
1715a50c80
commit
e16510b94d
|
@ -12,7 +12,7 @@
|
||||||
(define c (make-custodian))
|
(define c (make-custodian))
|
||||||
|
|
||||||
;; Distinct from other tests:
|
;; Distinct from other tests:
|
||||||
(define PORT-NO 9006)
|
(define PORT-NO 19206)
|
||||||
|
|
||||||
(define-values (_ n)
|
(define-values (_ n)
|
||||||
(parameterize ((current-custodian c))
|
(parameterize ((current-custodian c))
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
(on-msg (lambda (w sender msg) (make-bundle w '() '())))
|
(on-msg (lambda (w sender msg) (make-bundle w '() '())))
|
||||||
(on-new cons)
|
(on-new cons)
|
||||||
;; Distinct from other tests:
|
;; Distinct from other tests:
|
||||||
(port 9000))
|
(port 19207))
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
(uni:on-msg list)
|
(uni:on-msg list)
|
||||||
(uni:on-tick add1)
|
(uni:on-tick add1)
|
||||||
;; Distinct from other tests:
|
;; Distinct from other tests:
|
||||||
(uni:port 9004)))
|
(uni:port 19204)))
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
(require 2htdp/universe 2htdp/image)
|
(require 2htdp/universe 2htdp/image)
|
||||||
|
|
||||||
;; Distinct from other tests:
|
;; Distinct from other tests:
|
||||||
(define PORT-NO 9003)
|
(define PORT-NO 19203)
|
||||||
|
|
||||||
(struct s (t) #:prefab)
|
(struct s (t) #:prefab)
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
(require 2htdp/image)
|
(require 2htdp/image)
|
||||||
|
|
||||||
;; Distinct from other tests:
|
;; Distinct from other tests:
|
||||||
(define PORT-NO 9002)
|
(define PORT-NO 19202)
|
||||||
|
|
||||||
;; Nat Nat ->* World1 World2 [Listof IWorld]
|
;; Nat Nat ->* World1 World2 [Listof IWorld]
|
||||||
;; launch a sending world, a receiving world, and a connecting universe
|
;; launch a sending world, a receiving world, and a connecting universe
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
(require 2htdp/universe 2htdp/image)
|
(require 2htdp/universe 2htdp/image)
|
||||||
|
|
||||||
;; Distinct from other tests:
|
;; Distinct from other tests:
|
||||||
(define PORT-NO 9001)
|
(define PORT-NO 19201)
|
||||||
|
|
||||||
(define (u)
|
(define (u)
|
||||||
(universe 0
|
(universe 0
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
(require 2htdp/universe 2htdp/image)
|
(require 2htdp/universe 2htdp/image)
|
||||||
|
|
||||||
;; Distinct from other tests:
|
;; Distinct from other tests:
|
||||||
(define PORT-NO 9005)
|
(define PORT-NO 19205)
|
||||||
|
|
||||||
(define *world* #false)
|
(define *world* #false)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user