Example #1
0
    def run_post_test(self):
        # validate the OLTP result
        self.validate_result()

        # publish results
        if self.publish_results:
            report(self.publish_results, self.server_data, os.path.join(
                os.getcwd(), "oltp_result",self.filename_suffix), self.publish_username, self.publish_password, self.query_mode)
Example #2
0
    def run_post_test(self):
        try:
            # validate the OLTP result
            self.validate_result()

            # publish results
            if self.publish_results:
                report(
                    self.publish_results,
                    os.path.join(os.getcwd(), "oltp_result",
                                 self.filename_suffix), self.publish_username,
                    self.publish_password, self.query_mode)
        except:
            traceback.print_exc(file=sys.stdout)
            return ErrorCode.ERROR