forked from CGM_Public/pretix_original
disable reruns
This commit is contained in:
@@ -139,11 +139,11 @@ if os.environ.get("GITHUB_WORKFLOW", ""):
|
||||
|
||||
# Check if the test even has DB access
|
||||
marker = request.node.get_closest_marker("django_db")
|
||||
f.write(str(time.time())+"\t"+ str(worker_id)+"\t"+str(request.path)+"\t"+ str(request.module)+"\t"+ str(request.function)+"\tstart\n")
|
||||
f.write(str(time.time())+"\t"+ str(worker_id)+"\t"+str(request.path)+"\t"+ str(request.module.__name__)+"\t"+ str(request.function.__name__)+"\tstart\n")
|
||||
f.flush()
|
||||
# Run actual test
|
||||
yield
|
||||
f.write(str(time.time())+"\t"+ str(worker_id)+"\t"+str(request.path)+"\t"+ str(request.module)+"\t"+ str(request.function)+"\tend\n")
|
||||
f.write(str(time.time())+"\t"+ str(worker_id)+"\t"+str(request.path)+"\t"+ str(request.module.__name__)+"\t"+ str(request.function.__name__)+"\tend\n")
|
||||
f.flush()
|
||||
# If yes, do a dummy query at the end of the test
|
||||
#if marker:
|
||||
|
||||
Reference in New Issue
Block a user