I’m writing a unittest, which will clear a table and insert a set of values into the table before it starts to test some stored procs. My problem is that when multiple users are running the test at the same time, one user might clear the table after the other user inserts a set of values, which will make the latter user’s test fail.
I am wondering if it’s possible that each user will get a unique table name at runtime so that they will operate on totally different tables, or any other way to solve this problem? Any advice will be highly appreciated, I’ve been banging my head all day for this problem… Thanks a lot
I am wondering if it’s possible that each user will get a unique table name at runtime so that they will operate on totally different tables, or any other way to solve this problem? Any advice will be highly appreciated, I’ve been banging my head all day for this problem… Thanks a lot
Comment