linx-server icon indicating copy to clipboard operation
linx-server copied to clipboard

remove broken test

Open urandom2 opened this issue 3 years ago • 0 comments

TestPostJSONUploadMaxExpiry has been broken since at least 90e47f049b33069d884b2d13ce09ff7340ade03f. How it breaks seems to change over time, but there has not been any effort to actually fix it, and the referenced issues and context, andreimarcu/linx-server#111, have been lost to the annals of time. As such, we have removed this test.

[user@localhost:~/src/linx-server]$ go test .
--- FAIL: TestPostJSONUploadMaxExpiry (0.02s)
    server_test.go:499: File expiry is not 1670970223 but 0
FAIL
FAIL	github.com/andreimarcu/linx-server	1.009s
FAIL

urandom2 avatar Dec 13 '22 22:12 urandom2