elastic / elastic/apm-aws-lambda

`Test_handleInfoRequest` is flaky

Open
#368 0 comments 0 reactions 0 assignees View on GitHub
aws-λ-extension bug
Dominant language
Go
Stars
20
Forks
36
Avg merge
1d 4h
Merged PRs (30d)
3

Description

**APM AWS Lambda extensiom version** (`apm-aws-lambda version`):

**Describe the bug**

test job is failing

**To Reproduce**
Steps to reproduce the behavior:
1. Run CI jobs

**Expected behavior**

CI is green

**Provide logs (if relevant)**:

Observed in a few PRs:

```
[2023-01-24T21:44:19.748Z] === RUN Test_handleInfoRequest
[2023-01-24T21:44:19.748Z] logger.go:130: 2023-01-24T21:44:19.726Z INFO Extension listening for apm data on 127.0.0.1:1234
[2023-01-24T21:44:19.748Z] receiver_test.go:201:
[2023-01-24T21:44:19.748Z] Error Trace: receiver_test.go:201
[2023-01-24T21:44:19.748Z] Error: Received unexpected error:
[2023-01-24T21:44:19.748Z] Post "http://127.0.0.1:1234/intake/v2/events": EOF
[2023-01-24T21:44:19.748Z] Test: Test_handleInfoRequest
[2023-01-24T21:44:19.748Z] logger.go:130: 2023-01-24T21:44:19.727Z DEBUG server closed
[2023-01-24T21:44:19.748Z] --- FAIL: Test_handleInfoRequest (0.00s)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.