Skip to content

Commit b51e374

Browse files
authored
Add lower bound (Marshmallow) for testing (#1230)
* add lower bound (Marshmallow) for testing * spotless
1 parent bbbf2bc commit b51e374

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/integrationTest/kotlin/io/opentelemetry/android/AgentInitTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
package io.opentelemetry.android
77

88
import android.app.Application
9+
import android.os.Build.VERSION_CODES.M
910
import android.os.Build.VERSION_CODES.UPSIDE_DOWN_CAKE
1011
import androidx.test.core.app.ApplicationProvider.getApplicationContext
1112
import androidx.test.ext.junit.runners.AndroidJUnit4
@@ -17,7 +18,7 @@ import org.robolectric.annotation.Config
1718

1819
@RunWith(AndroidJUnit4::class)
1920
internal class AgentInitTest {
20-
@Config(sdk = [UPSIDE_DOWN_CAKE])
21+
@Config(sdk = [M, UPSIDE_DOWN_CAKE])
2122
@Test
2223
fun startOpenTelemetryRumInAndroid() {
2324
val application = getApplicationContext<Application>()

0 commit comments

Comments
 (0)