Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make api-test fail #2281

Closed
jwrookie opened this issue Jan 6, 2022 · 5 comments · Fixed by #2283
Closed

make api-test fail #2281

jwrookie opened this issue Jan 6, 2022 · 5 comments · Fixed by #2283
Labels
bug Something isn't working

Comments

@jwrookie
Copy link
Contributor

jwrookie commented Jan 6, 2022

Issue description

exec "make api-test" failed

Expected behavior

succes

How to Reproduce

in apisix-dashboard and make api-test

Screenshots

image
image

Environment

  • apisix version (cmd: apisix version):
  • OS (cmd: uname -a):Darwin
  • OpenResty / Nginx version (cmd: nginx -V or openresty -V):
  • etcd version, if have (cmd: run etcd --version):
  • apisix-dashboard version, if have:
  • Browser version, if have:

Additional context

position https://github.com/apache/apisix-dashboard/blob/master/api/internal/handler/data_loader/route_import_test.go#L92

i think use os.Getwd() instead

i am happy to solve it

@jwrookie jwrookie added the bug Something isn't working label Jan 6, 2022
@zaunist
Copy link
Contributor

zaunist commented Jan 7, 2022

Hi, @jwrookie . Could you please provide your system version? We need to know why this error occurred...

@zaunist
Copy link
Contributor

zaunist commented Jan 7, 2022

And I also think os.Getwd() is better, welcome to PR.

@jwrookie
Copy link
Contributor Author

jwrookie commented Jan 7, 2022

Hi @zaunist
os: Darwin Kernel Version 21.1.0

i am also looking for the cause of this error, welcome to discussed

@zaunist
Copy link
Contributor

zaunist commented Jan 7, 2022

Darwin Kernel Version 20.6.0. I can't reproduce this error.

@jwrookie
Copy link
Contributor Author

jwrookie commented Jan 7, 2022

Darwin Kernel Version 20.6.0. I can't reproduce this error.

thks for you replay, in my os reproduce rate is 100%, we use os.Getwd() instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants