Skip to content

Commit

Permalink
updating sdk tests
Browse files Browse the repository at this point in the history
Signed-off-by: salaboy <Salaboy@gmail.com>
  • Loading branch information
salaboy committed Sep 27, 2024
1 parent 711a124 commit 06ff43b
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,12 @@ public void testDaprContainerDefaults() {
"A subscription should be configured by default if none is provided"
);

assertEquals(
1,
DAPR_CONTAINER.getConfigurations().size(),
"A configuration should be configured"
assertNotNull(
DAPR_CONTAINER.getConfiguration(),
"A configuration should be provided"
);

Configuration configuration = DAPR_CONTAINER.getConfigurations().iterator().next();
Configuration configuration = DAPR_CONTAINER.getConfiguration();
assertEquals("1",configuration.getTracing().getSamplingRate());
assertEquals(true,configuration.getTracing().getStdout());
assertEquals("localhost:4317",configuration.getTracing().getOtelEndpoint());
Expand Down

0 comments on commit 06ff43b

Please sign in to comment.