~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/lib/server_mgmt/server.py

  • Committer: patrick crews
  • Date: 2011-06-23 19:18:02 UTC
  • mto: (2429.2.1 dbqp_revamp)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: gleebix@gmail.com-20110623191802-oxuq4imluo1llub4
Believed to be last tweaks needed to have different code trees / basedirs in a single dbqp run.  Now to code for new servers : )

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
    def is_started(self):
123
123
        """ Is the server running?  Particulars are server-dependent """
124
124
 
125
 
        return
 
125
        return "You need to implement is_started"
126
126
 
127
127
    def get_start_cmd(self):
128
128
        """ Return the command the server_manager can use to start me """
129
129
 
130
 
        return "Allakazam!"
 
130
        return "You need to implement get_start_cmd"
131
131
 
132
132
    def get_stop_cmd(self):
133
133
        """ Return the command the server_manager can use to stop me """
134
134
 
135
 
        return "Whoa, Nelly!"
 
135
        return "You need to implement get_stop_cmd"
136
136
 
137
137
    def get_ping_cmd(self):
138
138
        """ Return the command that can be used to 'ping' me 
144
144
 
145
145
        """
146
146
   
147
 
        return "Hello?"
 
147
        return "You need to implement get_ping_cmd"
148
148
 
149
149
    def cleanup(self):
150
150
        """ Cleanup - just free ports for now..."""