Skip to content

Commit

Permalink
add GemServer>>waitForStartGems: calls to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed May 28, 2015
1 parent bbfa7c9 commit cf04667
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ startGems: gemServer
self
notify:
'evaluate on server: abort; /home/gemserver/example --start=Test_Server' ]
ifFalse: [ gemServer startGems ]
ifFalse: [
gemServer startGems.
self waitForStartGems: 'Gems did not start ' , self gemServerName ]
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
private
stopGems: gemServer
self staticRemoteServer
ifFalse: [
gemServer stopGems.
(Delay forSeconds: 3) wait ]
ifFalse: [ gemServer stopGems ]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
private
waitForStartGems: message
(self gemServer waitForStartGems: 20)
ifFalse: [
Transcript
cr;
show: message.
self assert: false ]
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"instance" : {
"createGemServer" : "dkh 01/09/2015 14:05",
"interactiveRemoteServer" : "dkh 01/09/2015 14:02",
"startGems:" : "dkh 01/09/2015 14:08",
"startGems:" : "dkh 05/28/2015 01:08",
"staticRemoteServer" : "dkh 01/09/2015 14:03",
"stopGems:" : "dkh 01/09/2015 14:08",
"testForceBeginTransaction" : "dkh 01/09/2015 14:08" } }
"stopGems:" : "dkh 05/28/2015 01:05",
"testForceBeginTransaction" : "dkh 01/09/2015 14:08",
"waitForStartGems:" : "dkh 05/28/2015 01:09" } }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
useEventLog: anObject

useEventLog := anObject
useEventLog := anObject

Large diffs are not rendered by default.

0 comments on commit cf04667

Please sign in to comment.