When flank generated the shards, firebase gave a 400 saying that the test is invalid.
This gist has the complete log.
The apks (with I already sent to @renas, if anyone want to test) run successfully on my machine.
It was also a bit hard to understand what logs are from what shard. Maybe putting a common prefix to logs about what shard they're refering to could help debugging.
E.g:
https://gist.github.com/thalescm/7e64bc80fc2a32dcb8eef50fc0a96aac#file-flank-shard-error-L51-L56
all lines could start with something like SHARD X: <real log>
@thalescm is this still happening on master? I see a fix has landed.
Thanks for reporting this. Seems like the extraction of the test name is incorrect. We use this library for that:
https://github.com/linkedin/dex-test-parser
How should the below test look like in its correct form?
class com.nu.aab_transaction_detail.test_interface.InstallmentsAmountTest$DefaultImpls#testTransactionLoads_withInstallments_correctChargesSubtitleIsDisplayed
@bootstraponline it was with the master version of 1 hour before I posted the issue.
@renas I think I know what the problem is. InstallmentsAmountTest is a kotlin interface.
There are some cases on the app where this behavior is present, so we extracted the test and it get tested on many different places. This way we don't have to rewrite the same test over and over.
Probably the lib does not identify that this is an interface and chooses this method to run, when it can't
Yeah seems like it's not correctly identifying kotlin interfaces. If you can please submit this issue to the dex-test-parser project that would be great.
Issue posted there.
I think it makes sense to close this issue once there's a fix there and is updated here as well. WDYT?
Is this still an issue now that upstream is fixed?
Will make a new release this week with the updated library.
On Sun, Aug 6, 2017 at 3:31 PM, bootstraponline notifications@github.com
wrote:
Is this still an issue now that upstream is fixed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/TestArmada/flank/issues/35#issuecomment-320537209,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKGpe9Q3Fs0eMgod0FkoUDaLFTbomvWks5sVj7XgaJpZM4N4iad
.
Hi folks,
I'm facing this problem...
I get: Http error while creating test matrix: ResponseError 400:
When I have an interface with @Test
Don't use @test on an interface.
Most helpful comment
Issue posted there.
I think it makes sense to close this issue once there's a fix there and is updated here as well. WDYT?