postgresql/src/test
Andres Freund 7340aceed7 Specify --host in 027_stream_regress.pl's pg_regress invocation.
The invocation of pg_regress in 027_stream_regress.pl didn't specify the
host. It ends up working on most systems because of connection
defaults. However, on windows it makes the test very slow unless
PG_TEST_USE_UNIX_SOCKETS is used.

The problem is that windows resolves "localhost" to ::0, 127.0.0.1, the server
started only listens on 127.0.0.1.  On windows refused TCP connections are
internally retried a few times, with back-off between tries, taking at least 2
seconds.

Noticed while investigating a complaint about the test's slow speed by Andrew
Dunstan.

Discussion: https://postgr.es/m/20220127220351.kyp3bdaukfytmoqx@alap3.anarazel.de
2022-01-27 14:49:57 -08:00
..
authentication Update copyright for 2022 2022-01-07 19:04:57 -05:00
examples Update copyright for 2022 2022-01-07 19:04:57 -05:00
isolation Add Boolean node 2022-01-17 10:38:23 +01:00
kerberos Update copyright for 2022 2022-01-07 19:04:57 -05:00
ldap Update copyright for 2022 2022-01-07 19:04:57 -05:00
locale Update copyright for 2022 2022-01-07 19:04:57 -05:00
mb Fix MB regression tests for WAL-logging of hash indexes. 2017-03-15 07:25:36 -04:00
modules Fix various typos, grammar and code style in comments and docs 2022-01-25 09:40:04 +09:00
perl Improve msys2 detection for TAP tests 2022-01-27 08:27:56 -05:00
recovery Specify --host in 027_stream_regress.pl's pg_regress invocation. 2022-01-27 14:49:57 -08:00
regress Fix various typos, grammar and code style in comments and docs 2022-01-25 09:40:04 +09:00
ssl Update copyright for 2022 2022-01-07 19:04:57 -05:00
subscription Update copyright notice to 2022 for recently-introduced TAP test 2022-01-16 21:19:30 +09:00
Makefile Revert per-index collation version tracking feature. 2021-05-07 21:10:11 +12:00
README Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00

PostgreSQL tests
================

This directory contains a variety of test infrastructure as well as some of the
tests in PostgreSQL. Not all tests are here -- in particular, there are more in
individual contrib/ modules and in src/bin.

Not all these tests get run by "make check". Check src/test/Makefile to see
which tests get run automatically.

authentication/
  Tests for authentication (but see also below)

examples/
  Demonstration programs for libpq that double as regression tests via
  "make check"

isolation/
  Tests for concurrent behavior at the SQL level

kerberos/
  Tests for Kerberos/GSSAPI authentication and encryption

ldap/
  Tests for LDAP-based authentication

locale/
  Sanity checks for locale data, encodings, etc

mb/
  Tests for multibyte encoding (UTF-8) support

modules/
  Extensions used only or mainly for test purposes, generally not suitable
  for installing in production databases

perl/
  Infrastructure for Perl-based TAP tests

recovery/
  Test suite for recovery and replication

regress/
  PostgreSQL's main regression test suite, pg_regress

ssl/
  Tests to exercise and verify SSL certificate handling

subscription/
  Tests for logical replication