Skip to content

Commit

Permalink
Merge pull request #49 from rokostik/fix-capture-stdout
Browse files Browse the repository at this point in the history
Fix capture-stdout and add timeout for tests
  • Loading branch information
refaktor authored Dec 8, 2023
2 parents cf39455 + e8ea122 commit 0c973b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:

- name: Run Rye Tests
run: cd tests ; ../bin/rye main.rye test
timeout-minutes: 1

# - name: Test
# run: go test -v -tags "b_tiny,b_sqlite,b_http,b_sql,b_postgres,b_openai,b_bson,b_crypto,b_smtpd,b_mail,b_postmark,b_bctypt,b_telegram" ./...
2 changes: 1 addition & 1 deletion evaldo/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -1955,7 +1955,7 @@ var builtins = map[string]*env.Builtin{
EvalBlock(ps)
ps.Ser = ser

outC := make(chan string)
outC := make(chan string, 1)
g := errgroup.Group{}
// copy the output in a separate goroutine so printing can't block indefinitely
g.Go(func() error {
Expand Down

0 comments on commit 0c973b1

Please sign in to comment.