File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/applications
integration-test/src/test/java/org/cloudfoundry/operations Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 3333import java .util .Collections ;
3434import java .util .Date ;
3535import java .util .LinkedList ;
36+ import java .util .List ;
3637import java .util .Map ;
3738import java .util .Optional ;
3839import java .util .Queue ;
144145import org .cloudfoundry .doppler .LogMessage ;
145146import org .cloudfoundry .doppler .RecentLogsRequest ;
146147import org .cloudfoundry .doppler .StreamRequest ;
148+ import org .cloudfoundry .logcache .v1 .Envelope ;
147149import org .cloudfoundry .logcache .v1 .EnvelopeBatch ;
148150import org .cloudfoundry .logcache .v1 .Log ;
149151import org .cloudfoundry .logcache .v1 .LogCacheClient ;
@@ -5105,11 +5107,8 @@ private static void requestLogsRecentLogCache(
51055107 .envelopes (
51065108 fill (EnvelopeBatch .builder ())
51075109 .batch (
5108- Arrays .asList (
5109- fill (org .cloudfoundry
5110- .logcache .v1
5111- .Envelope
5112- .builder ())
5110+ List .of (
5111+ fill (Envelope .builder ())
51135112 .log (
51145113 Log
51155114 .builder ()
Original file line number Diff line number Diff line change @@ -2205,7 +2205,7 @@ private static Mono<String> getAppGuidFromAppName(
22052205 }
22062206
22072207 private static Log checkOneLogEntry (Log log ) {
2208- assertThat (log .getType (). equals (LogType .OUT ) );
2208+ assertThat (log .getType ()). isEqualTo (LogType .OUT );
22092209 OperationsLogging .log ("one log entry: " + log .getType () + " " + log .getPayloadAsText ());
22102210 return log ;
22112211 }
You can’t perform that action at this time.
0 commit comments