@@ -400,17 +400,23 @@ void stableSemConvMethodMatches() {
400400 .build ();
401401 assertThat (applier .matches (attributes , resource )).isTrue ();
402402 attributes =
403- stableSemConvAttributes .toBuilder ().put (HttpAttributes .HTTP_REQUEST_METHOD , "BADGET" ).build ();
403+ stableSemConvAttributes .toBuilder ()
404+ .put (HttpAttributes .HTTP_REQUEST_METHOD , "BADGET" )
405+ .build ();
404406 assertThat (applier .matches (attributes , resource )).isTrue ();
405407 attributes =
406- stableSemConvAttributes .toBuilder ().put (HttpAttributes .HTTP_REQUEST_METHOD , "GETGET" ).build ();
408+ stableSemConvAttributes .toBuilder ()
409+ .put (HttpAttributes .HTTP_REQUEST_METHOD , "GETGET" )
410+ .build ();
407411 assertThat (applier .matches (attributes , resource )).isTrue ();
408412 }
409413
410414 @ Test
411415 void stableSemConvMethodNotMatch () {
412416 Attributes attributes =
413- stableSemConvAttributes .toBuilder ().put (HttpAttributes .HTTP_REQUEST_METHOD , "POST" ).build ();
417+ stableSemConvAttributes .toBuilder ()
418+ .put (HttpAttributes .HTTP_REQUEST_METHOD , "POST" )
419+ .build ();
414420 assertThat (applier .matches (attributes , resource )).isFalse ();
415421 attributes = removeAttribute (stableSemConvAttributes , HttpAttributes .HTTP_REQUEST_METHOD );
416422 assertThat (applier .matches (attributes , resource )).isFalse ();
@@ -447,26 +453,48 @@ void hostNotMatch() {
447453 @ Test
448454 void stableSemConvHostMatches () {
449455 Attributes attributes =
450- this .stableSemConvAttributes .toBuilder ().put (ServerAttributes .SERVER_ADDRESS , "alpha.opentelemetry.io" ).build ();
456+ this .stableSemConvAttributes .toBuilder ()
457+ .put (ServerAttributes .SERVER_ADDRESS , "alpha.opentelemetry.io" )
458+ .build ();
451459 assertThat (applier .matches (attributes , resource )).isTrue ();
452- attributes = this .stableSemConvAttributes .toBuilder ().put (ServerAttributes .SERVER_ADDRESS , "opfdnqtelemetry.io" ).build ();
460+ attributes =
461+ this .stableSemConvAttributes .toBuilder ()
462+ .put (ServerAttributes .SERVER_ADDRESS , "opfdnqtelemetry.io" )
463+ .build ();
453464 assertThat (applier .matches (attributes , resource )).isTrue ();
454- attributes = this .stableSemConvAttributes .toBuilder ().put (ServerAttributes .SERVER_ADDRESS , "opentglemetry.io" ).build ();
465+ attributes =
466+ this .stableSemConvAttributes .toBuilder ()
467+ .put (ServerAttributes .SERVER_ADDRESS , "opentglemetry.io" )
468+ .build ();
455469 assertThat (applier .matches (attributes , resource )).isTrue ();
456- attributes = this .stableSemConvAttributes .toBuilder ().put (ServerAttributes .SERVER_ADDRESS , "opentglemry.io" ).build ();
470+ attributes =
471+ this .stableSemConvAttributes .toBuilder ()
472+ .put (ServerAttributes .SERVER_ADDRESS , "opentglemry.io" )
473+ .build ();
457474 assertThat (applier .matches (attributes , resource )).isTrue ();
458- attributes = this .stableSemConvAttributes .toBuilder ().put (ServerAttributes .SERVER_ADDRESS , "opentglemrz.io" ).build ();
475+ attributes =
476+ this .stableSemConvAttributes .toBuilder ()
477+ .put (ServerAttributes .SERVER_ADDRESS , "opentglemrz.io" )
478+ .build ();
459479 assertThat (applier .matches (attributes , resource )).isTrue ();
460480 }
461481
462482 @ Test
463483 void stableSemConvHostNotMatch () {
464484 Attributes attributes =
465- this .stableSemConvAttributes .toBuilder ().put (ServerAttributes .SERVER_ADDRESS , "opentelemetryfio" ).build ();
485+ this .stableSemConvAttributes .toBuilder ()
486+ .put (ServerAttributes .SERVER_ADDRESS , "opentelemetryfio" )
487+ .build ();
466488 assertThat (applier .matches (attributes , resource )).isFalse ();
467- attributes = this .stableSemConvAttributes .toBuilder ().put (ServerAttributes .SERVER_ADDRESS , "opentgalemetry.io" ).build ();
489+ attributes =
490+ this .stableSemConvAttributes .toBuilder ()
491+ .put (ServerAttributes .SERVER_ADDRESS , "opentgalemetry.io" )
492+ .build ();
468493 assertThat (applier .matches (attributes , resource )).isFalse ();
469- attributes = this .stableSemConvAttributes .toBuilder ().put (ServerAttributes .SERVER_ADDRESS , "alpha.oentelemetry.io" ).build ();
494+ attributes =
495+ this .stableSemConvAttributes .toBuilder ()
496+ .put (ServerAttributes .SERVER_ADDRESS , "alpha.oentelemetry.io" )
497+ .build ();
470498 assertThat (applier .matches (attributes , resource )).isFalse ();
471499 attributes = removeAttribute (this .stableSemConvAttributes , ServerAttributes .SERVER_ADDRESS );
472500 assertThat (applier .matches (attributes , resource )).isFalse ();
0 commit comments