Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1ZUf-0006Ec-IM for pgadmin-hackers@arkaria.postgresql.org; Thu, 29 Mar 2018 15:29:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f1ZUe-0007O7-CQ for pgadmin-hackers@arkaria.postgresql.org; Thu, 29 Mar 2018 15:29:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f1ZUe-0007Nt-36 for pgadmin-hackers@lists.postgresql.org; Thu, 29 Mar 2018 15:29:36 +0000 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f1ZUZ-0008Nt-Or for pgadmin-hackers@postgresql.org; Thu, 29 Mar 2018 15:29:34 +0000 Received: by mail-io0-x232.google.com with SMTP id d6so6156515iog.1 for ; Thu, 29 Mar 2018 08:29:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+DanCCcc6QWac2l2R1jVL/8Uyqb71a0rJM7O6IHxB2c=; b=hKFP/feocNCZ2iczKjAyRFBlaMSPpamgJp7uSCieB8mrznZi5FrK4mg8+RhnPYFGUD +mnpfdWaxTecwdnjzExEKji4ITfAoE6pePRxu1MTN1X+U12ul2Two+iT7dik8r/1AD/v RYe6Ur/5UBPAqEJeIY+6DoraH7krZmmLatSL1JJ3sIS89UHgbcUZBi2CYDHLuAk4KnHA ou9FTU1F4ba8kknC3sl+/47mgK5HPCAsZHu7qrffi0SUdKHq6PbQn3rJlnpMF1/MemPI HKGEaG2S3Q2aSdyJITIwxGe+S0TJflNSkuot6AvweU3N+f6PhtE37cocspe6CLlVOHSO q7bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+DanCCcc6QWac2l2R1jVL/8Uyqb71a0rJM7O6IHxB2c=; b=UrxbdkvBTY1i2k3peANXkrBa0sh3mbwrkwCS4hB5IhbUPbvxkt92v3Dd4cwt6Zj3yj LwTjFk1viqs2gujT+HA2ku+yo4jbEBs9cXnln4erqPSYxRX7QGHtQvCzlmcO+Gfuy3ps jFc1r2LDi0jftsZR2m/ZCMC62ACUYjhPUJr4RTr1IqOzAVthH/aGfvbIuOdY805yctu3 1cuyV3ZFD/dV/d7UWhQOMweWfN6alH12BGeldK1WFcq2iSF4b2tZ60wvxEoEzQlwxTZq +Fyyx4ISNsKWZC6gk7sCp6cCG1n40s9GfVyAtVCsG5QMA9zgFRoYShttW0uWSiljkF10 C77g== X-Gm-Message-State: AElRT7H5LkyVyy4eSqpte9IiqU1mFc8gEavhGl07ysB+MN0Ihs4Gho49 yyH+Kaqs+iLpJ7ViVk5Cb+ae4E/lwI19BspyXtSdyg== X-Google-Smtp-Source: AIpwx49ThBJaGX4D3DDGaqpXH0s22CUdU0M83QtOYSp96N8rTkUtxB/gqGz64MIE7IxTWFgEiqAE9L5tDjAW+DXkEtM= X-Received: by 10.107.200.84 with SMTP id y81mr23423027iof.116.1522337370802; Thu, 29 Mar 2018 08:29:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Joao De Almeida Pereira Date: Thu, 29 Mar 2018 15:29:20 +0000 Message-ID: Subject: Re: Bug #3083 fix To: Dave Page Cc: Akshay Joshi , Neethu Mariya Joy , pgadmin-hackers Content-Type: multipart/alternative; boundary="94eb2c0b89ea372a4105688eca59" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --94eb2c0b89ea372a4105688eca59 Content-Type: text/plain; charset="UTF-8" Hi Dave, That looks like in the surrounding area of the change. We run our pipeline and everything was green. Can you provide more details, which python version are you using? OS? Thanks Joao On Thu, Mar 29, 2018 at 9:03 AM Dave Page wrote: > Hi > > On Wed, Mar 28, 2018 at 7:06 PM, Joao De Almeida Pereira < > jdealmeidapereira@pivotal.io> wrote: > >> Hey Akshay and Neethu >> >> We refactored the patch to add tests for the resize feature. We were >> able to write test cases for the drag event by using spies and setting the >> rect dimensions. In cases like this, we can just test some components in >> order to have enough confidence in the code. So we isolated the function >> that implements the behavior of this feature and tested that it was >> performing as expected. >> >> We ran the patch through the pipelines and all of the tests passed. >> > > I'm consistently seeing the feature test failure below with this patch > applied: > > ====================================================================== > FAIL: runTest > (pgadmin.feature_tests.view_data_dml_queries.CheckForViewDataTest) > Validate Insert, Update operations in View/Edit data with given test data > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/Users/dpage/git/pgadmin4/web/pgadmin/feature_tests/view_data_dml_queries.py", > line 125, in runTest > self._verify_row_data(True) > File > "/Users/dpage/git/pgadmin4/web/pgadmin/feature_tests/view_data_dml_queries.py", > line 325, in _verify_row_data > self.assertEquals(cells[idx], config_data[str(idx)][1]) > AssertionError: u'[null]' != u'1' > - [null] > + 1 > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > --94eb2c0b89ea372a4105688eca59 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Dave,
That looks like in the surrounding area of th= e change. We run our pipeline and everything was green.
Can you p= rovide more details, which python version are you using? OS?

=
Thanks
Joao

=
On Thu, Mar 29, 2018 at 9:03 AM Dave Page <dpage@pgadmin.org> wrote:
Hi
On Wed, Mar 28, 2018 at 7:06 PM= , Joao De Almeida Pereira <jdealmeidapereira@pivotal.io>= wrote:
Hey Akshay and Neethu

We refactored the patch = to add tests for the resize feature.=C2=A0 We were able to write test cases= for the drag event by using spies and setting the rect dimensions.=C2=A0 I= n cases like this, we can just test some components in order to have enough= confidence in the code.=C2=A0 So we isolated the function that implements = the behavior of this feature and tested that it was performing as expected.=

We ran the patch through the pipelines and all of= the tests passed.

I'm consistently seeing the feature test failure below with this patc= h applied:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
FAIL: runTest (pgadmin.feature_tests.= view_data_dml_queries.CheckForViewDataTest)
Validate Insert, Upda= te operations in View/Edit data with given test data
------------= ----------------------------------------------------------
Traceb= ack (most recent call last):
=C2=A0 File "/Users/dpage/git/p= gadmin4/web/pgadmin/feature_tests/view_data_dml_queries.py", line 125,= in runTest
=C2=A0 =C2=A0 self._verify_row_data(True)
= =C2=A0 File "/Users/dpage/git/pgadmin4/web/pgadmin/feature_tests/view_= data_dml_queries.py", line 325, in _verify_row_data
=C2=A0 = =C2=A0 self.assertEquals(cells[idx], config_data[str(idx)][1])
As= sertionError: u'[null]' !=3D u'1'
- [null]
<= div>+ 1


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsna= ke

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Co= mpany
--94eb2c0b89ea372a4105688eca59--