-
Notifications
You must be signed in to change notification settings - Fork 234
Description
I'm trying to run a simple startup test similar to the one shown in the sample here, and although I seem to have everything as shown in the sample gradle file, I keep getting an error when running the test. I'm trying to run directly on a FB device through the gcloud command, using the same command shown in the sample, and although the test seems to start correctly, I keep seeing the following:
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/collections/CollectionsKt; at com.sample.macrotests.ColdStartupTest.startup(ColdStartupTest.kt:23) ... 30 trimmed Caused by: java.lang.ClassNotFoundException: kotlin.collections.CollectionsKt ... 32 more
this points to the line where I'm just setting the type of test to run, like:
metrics = listOf(StartupTimingMetric()),
I seem to be missing a dependency but I have everything as shown in the sample so I haven't been able to figure out exactly what I'm missing so not sure if it's a real issue or just something on my side I may be missing so just wanted to call it out here.
Thanks!