Skip to content

Commit

Permalink
minor edits
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleGedd committed Nov 6, 2024
1 parent e6287a3 commit da154c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pkg/api/logs/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func handleLogStream(ctx context.Context, logStream io.ReadCloser, w http.Respon
for {
line, err := reader.ReadBytes('\n')
if err != nil {
if err != io.EOF && !errors.Is(err, context.Canceled) {
if err != io.EOF {
fmt.Fprintf(buffer, "ERROR: %v\n", err)
}
close(shouldFlush)
Expand Down
4 changes: 2 additions & 2 deletions ui/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const defaultConfig: PlaywrightTestConfig = {
testDir: 'tests',
/* Run tests in files in parallel */
fullyParallel: true,
retries: process.env.CI ? 2 : 1,
retries: process.env.CI ? 3 : 1,
testMatch: /^(?!.*local-auth|.*reconnect|.*in-cluster)(.+\.)?(test|spec)\.[jt]s$/,
use: {
baseURL: `${protocol}://${host}:${port}/`,
Expand Down Expand Up @@ -74,7 +74,7 @@ const inCluster: PlaywrightTestConfig = {
testDir: 'tests',
/* Run tests in files in parallel */
fullyParallel: true,
retries: process.env.CI ? 2 : 1,
retries: process.env.CI ? 3 : 1,
testMatch: /^(?!.*local-auth|.*reconnect)(.+\.)?(test|spec)\.[jt]s$/,
use: {
baseURL: `${protocol}://runtime.admin.uds.dev/`,
Expand Down

0 comments on commit da154c4

Please sign in to comment.