F-Droid Devs

114 Members
F-Droid development discussion only | Use #fdroid:f-droid.org for general, app- and repo-related matters | Meeting every Thursday at 11:30 UTC | This channel is publicly logged at https://matrix.f-droid.org/alias/%23fdroid-dev:f-droid.org 19 Servers

Load older messages


SenderMessageTime
18 Jan 2021
@stencil:matrix.orgPassiingRedacted or Malformed Event07:12:18
@stencil:matrix.orgPassiingImage.png
Download Image.png
07:15:33
@proletarius101:privacytools.ioproletarius101 (Old) _hc: I think the PR for refactoring to based on material components library is almost done. All tests in the CI passed on my machine, except this one: https://proletarius101.gitlab.io/-/fdroidclient/-/jobs/968749468/artifacts/app/build/reports/tests/testFullDebugUnitTest/classes/org.fdroid.fdroid.nearby.LocalHTTPDManagerTest.html#testStartStop 07:56:31
@proletarius101:privacytools.ioproletarius101 (Old)Not sure whether it's really a bug07:56:38
@eighthave:matrix.org_hc proletarius101: did you try running it again, e.g. clicking "Retry"? That testhas been a bit flaky, but mostly it works 08:39:06
@proletarius101:privacytools.ioproletarius101 (Old)Locally it doesn't pass too. And indeed it occurs at this line: https://gitlab.com/proletarius101/fdroidclient/-/blob/master/app/src/testFull/java/org/fdroid/fdroid/nearby/LocalHTTPDManagerTest.java#L7208:40:55
@proletarius101:privacytools.ioproletarius101 (Old)Comment it out it will pass08:41:08
@eighthave:matrix.org_hccommenting out that means the test doesn't really run, that's why it would pass08:44:09
@eighthave:matrix.org_hcthat job is passing in master https://gitlab.com/fdroid/fdroidclient/-/jobs08:47:21
@proletarius101:privacytools.ioproletarius101 (Old)
In reply to @eighthave:matrix.org
commenting out that means the test doesn't really run, that's why it would pass
Sure. The thing is, what is executed between L55 and L72? I see nothing but tearing down?
08:54:36
@eighthave:matrix.org_hcthe test is to make sure it can start and stop the internal webserver used in Nearby app swapping08:55:36
@eighthave:matrix.org_hc LocalHTTPDManager.stop(context); 08:55:44
@eighthave:matrix.org_hc and LocalHTTPDManager.start(context, false); 08:55:52
@eighthave:matrix.org_hcRoboectric and Espresso both seem to require some serious superstition to keep running08:56:41
@eighthave:matrix.org_hcI'm so disappointed in how crappy Android's test setups are, especially considering that Google is sitting on over $50 billion in cash. How about spending a bit of that on making your test suites work well?08:57:58
@eighthave:matrix.org_hcI wonder if Robolectric gets any money from Google at all08:58:29
@freenode_est:matrix.orgest left the room.08:59:43
@glennmen:matrix.orgglennmen left the room.09:00:40
@eighthave:matrix.org_hchmm, I'll bet I can make some of those tests only run if related code has changed09:00:53
@eighthave:matrix.org_hcor at least that's easy with Python and gitlab-ci09:01:15
@freenode_mimi89999:matrix.orgmimi89999 > I'm so disappointed in how crappy Android's test setups are, especially considering that Google is sitting on over $50 billion in cash. 09:02:11
@freenode_mimi89999:matrix.orgmimi89999Maybe they are building Fuschia?09:02:12
@eighthave:matrix.org_hcha, no. that's pretty clear09:03:11
@proletarius101:privacytools.ioproletarius101 (Old)
In reply to @eighthave:matrix.org
Roboectric and Espresso both seem to require some serious superstition to keep running
yeah... And there are some test errors that were ignored but after I raise Java version to 8, they appear. And I fixed them.
09:03:38
@eighthave:matrix.org_hcI think Kotlin+Fuchsia is basically Google's way of threatening Oracle to not push too hard on the Java lawsuits, or they'll switch to Plan B. You can see that the "native" support stuff is window dressing, they haven't worked on the core GUI stuff that would be required09:04:39
@proletarius101:privacytools.ioproletarius101 (Old)like failure to casting a bool into an Int09:04:43
@proletarius101:privacytools.ioproletarius101 (Old)
In reply to @eighthave:matrix.org
or at least that's easy with Python and gitlab-ci
that would be nice
09:05:16
@freenode_mimi89999:matrix.orgmimi89999And now also Dart09:05:32
@eighthave:matrix.org_hc proletarius101: I apprecate any time you put into troubleshooting that test failure, I think its clearly not related to your changes 09:07:19
@freenode_mimi89999:matrix.orgmimi89999But Fuchsia seems more serious than just a mockup for Oracle.09:08:18

Show newer messages


Back to Room ListRoom Version: 1