Skip to content

Commit

Permalink
Remove extreme tests in vcompressor (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaogaotiantian authored Jun 12, 2024
1 parent 6c19204 commit be10add
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_vcompressor.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,13 +344,13 @@ def assertThreadOrProcessEqual(self, first: list, second: list):
class MyThreadSparse(threading.Thread):
def run(self):
counter = VizCounter(tracer, 'thread counter ' + str(self.ident))
counter.a = sys.maxsize - 1
counter.a = -1
time.sleep(0.01)
counter.a = sys.maxsize * 2
counter.a = counter.a * 2
time.sleep(0.01)
counter.a = -sys.maxsize + 2
counter.a = 2
time.sleep(0.01)
counter.a = -sys.maxsize * 2
counter.a = counter.a * 2
main_counter = VizCounter(tracer, 'main counter')
thread1 = MyThreadSparse()
Expand Down Expand Up @@ -431,8 +431,8 @@ def run(self):
for thread in threads:
thread.join()
main_viz_object.arg1 = {100: "string1"}
main_viz_object.arg2 = {100: "string1", -100: "string2"}
main_viz_object.arg1 = {"100": "string1"}
main_viz_object.arg2 = {"100": "string1", "-100": "string2"}
tracer.stop()
tracer.save(output_file='%s')
Expand Down

0 comments on commit be10add

Please sign in to comment.