aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-08-03 11:14:55 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-08-03 11:14:55 -0400
commit1da0850f0e4e37488e4f871b60cc5fbe5276a76f (patch)
treee18ab695247ed6cc2f79c00573f9444bb54df608 /src/tutorial/complex.c
parent0c20dd33db1607d6a85ffce24238c1e55e384b49 (diff)
downloadpostgresql-1da0850f0e4e37488e4f871b60cc5fbe5276a76f.tar.gz
postgresql-1da0850f0e4e37488e4f871b60cc5fbe5276a76f.zip
Reduce test runtime of src/test/modules/snapshot_too_old.
The sto_using_cursor and sto_using_select tests were coded to exercise every permutation of their test steps, but AFAICS there is no value in exercising more than one. This matters because each permutation costs about six seconds, thanks to the "pg_sleep(6)". Perhaps we could reduce that, but the useless permutations seem worth getting rid of in any case. (Note that sto_using_hash_index got it right already.) While here, clean up some other sloppiness such as an unused table. This doesn't make too much difference in interactive testing, since the wasted time is typically masked by parallelization with other tests. However, the buildfarm runs this as a serial step, which means we can expect to shave ~40 seconds from every buildfarm run. That makes it worth back-patching. Discussion: https://postgr.es/m/2515192.1659454702@sss.pgh.pa.us
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions