Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzG4G-0004ML-8X for pgsql-jdbc@arkaria.postgresql.org; Thu, 09 Jun 2022 11:11:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nzG4E-0006fQ-55 for pgsql-jdbc@arkaria.postgresql.org; Thu, 09 Jun 2022 11:11:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzG4D-0006fH-R7 for pgsql-jdbc@lists.postgresql.org; Thu, 09 Jun 2022 11:11:09 +0000 Received: from out-18.smtp.github.com ([192.30.252.201] helo=smtp.github.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzG48-0008Sr-E2 for pgsql-jdbc@lists.postgresql.org; Thu, 09 Jun 2022 11:11:08 +0000 Received: from github.com (hubbernetes-node-a15536d.va3-iad.github.net [10.48.14.31]) by smtp.github.com (Postfix) with ESMTPA id 27E0F340389 for ; Thu, 9 Jun 2022 04:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1654773062; bh=1a8K+tYSfd2BVa5YLL5o2to8SrgTA4giQqGQaGbuaPs=; h=Date:From:To:Subject:From; b=0Q9GvDOSLTp1VJ19IrxL7gnuzOLUYqx7/VU1PqCj4wFQ/wmkt1qqNKJJ28iRfqX6l yhmFq+kIBd8JOyhgTnzDWGGJ96dbFhyVulhfUkxN34YRkHKNGTr2mgPqiELAZInqaX zdn4kLlhWMjsi4s+iMFw8LA51RkpwA9qH/UGb3x4= Date: Thu, 09 Jun 2022 04:11:02 -0700 From: Vladimir Sitnikov To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] 3b13db: test: fix API usage in NotifyTest Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 3b13db2dac7479a9fd1e1ebdd1b6f03a98231684 https://github.com/pgjdbc/pgjdbc/commit/3b13db2dac7479a9fd1e1ebdd1b6f03a98231684 Author: Vladimir Sitnikov 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.