[pgjdbc/pgjdbc] 3b13db: test: fix API usage in NotifyTest

From: Vladimir Sitnikov <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 3b13db: test: fix API usage in NotifyTest
Date: 2022-06-09 11:11:02
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/67fda9-3b13db@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 3b13db2dac7479a9fd1e1ebdd1b6f03a98231684
https://github.com/pgjdbc/pgjdbc/commit/3b13db2dac7479a9fd1e1ebdd1b6f03a98231684
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2022-06-09 (Thu, 09 Jun 2022)

Changed paths:
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/NotifyTest.java

Log Message:
-----------
test: fix API usage in NotifyTest

Previously the test waited for a non-null getNotifications() array,
however, the method never return null values.
The test should wait for a non-empty array instead.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Zuzana Miklankova 2022-06-09 13:06:49 Question about CVE-2022-21724
Previous Message Thomas Markus 2022-06-09 05:13:46 Re: Can't connect to Postgres on GCP, except through DataGrip