def tearDown(self):
     command = 'deletetable %s -f\n' % self.tablename
     log.debug("Running Command %r", command)
     code, out, err = cloudshell.run(self.username, self.password, command)
     self.assertEqual(code, 0, "Could not delete table")
     log.debug("Process finished")        
     Benchmark.tearDown(self)
 def tearDown(self):
     command = 'deletetable %s -f\n' % self.tablename
     log.debug("Running Command %r", command)
     code, out, err = cloudshell.run(self.username, self.password, command)
     self.assertEqual(code, 0, "Could not delete table")
     log.debug("Process finished")        
     Benchmark.tearDown(self)
Example #3
0
 def tearDown(self):
     code, out, err = cloudshell.run(self.username, self.password,
                                     "deletetable %s\n" % self.input_table)
     self.assertEqual(code, 0,
                      'Could not delete %s, %s' % (self.input_table, out))
     code, out, err = cloudshell.run(self.username, self.password,
                                     "deletetable %s\n" % self.output_table)
     self.assertEqual(code, 0,
                      'Could not delete %s, %s' % (self.output_table, out))
     Benchmark.tearDown(self)
Example #4
0
 def tearDown(self):
     code, out, err = cloudshell.run(self.username, self.password, "deletetable %s\n" % self.input_table)
     self.assertEqual(code, 0, 'Could not delete %s, %s' % (self.input_table, out))
     code, out, err = cloudshell.run(self.username, self.password, "deletetable %s\n" % self.output_table)
     self.assertEqual(code, 0, 'Could not delete %s, %s' % (self.output_table, out))
     Benchmark.tearDown(self)
Example #5
0
 def tearDown(self):
     command = 'deletetable test_ingest -f\n'
     log.debug("Running Command %r", command)
     code, out, err = cloudshell.run(self.username, self.password, command)
     self.assertEqual(code, 0, "Could not delete the table 'test_ingest'")
     Benchmark.tearDown(self)
Example #6
0
 def tearDown(self):
     command = 'deletetable test_ingest -f\n'
     log.debug("Running Command %r", command)
     code, out, err = cloudshell.run(self.username, self.password, command)
     self.assertEqual(code, 0, "Could not delete the table 'test_ingest'")
     Benchmark.tearDown(self)
 def tearDown(self):
     Benchmark.tearDown(self)
Example #8
0
 def tearDown(self):
     code, out, err = cloudshell.run(self.username, self.password, "deletetable -f %s\n" % self.tablename)
     self.assertEqual(code, 0, "Could not delete %s, %s" % (self.tablename, out))
     Benchmark.tearDown(self)