15 Commits

Author SHA1 Message Date
Joey Hills
c1891f148e Created a test script to that can be run in 'make test-e2e' and 'make (#1966)
Fixes end-to-end docker compose tests
2024-06-02 12:21:53 -07:00
Federico Paolinelli
27f3683416 Replace the current e2e script with a test suite running e2e tests. (#1514)
* Replace the current e2e script with a test suite running e2e tests.

* Add a build tag to skip e2e while running unit tests.
We want e2e tests to be skipped while running normal unit tests.
2020-02-19 15:38:08 -08:00
Bob Maertz
0404b20756 Remove ref to vendor for go build in e2e script. (#1360) 2019-08-28 11:09:07 -07:00
Kenshi Kamata
667b9fdf65 Fix typo (#1358)
* fix duplicated 'the'

* fix typo found by misspell
2019-08-27 10:55:09 -07:00
Manu Gupta
23b285d49d Catalog endpoint support for mongo (#985)
* Added new cataloger interface

* Implementing catalog protocol

* Propagated to protocol and over

* First round of fixes

* S3 almost ready, need to be tested

* Going on with testing s3

* Better testing with s3

* Simplified catalog tests

* Preparing gcp tests to access a gcp instance

* Fixing initialization errors

* Removed some prints

* Gcp ready, to be tested

* Gcp working

* Aligned bucket mock to catalog method

* Switched res payload to json

* Added catalog method to all storage instances

* Added catalog method to unsupported storages

* Fixed with pool test

* Restored tests

* Fixed gcp constructor

* Implemented catalog for fs

* Removed trace

* E2e tests, fixed fs

* Fixed module name return value

* Added cataloger method to azure storage

* Added docs

* Changed pagesize parameter name

* Fixed gofmt error

* Added json tags to result. Fixed lint warning

* Removed extra line

* Changed not implemented error to http.KindNotImplemented

* Checking for inequality on results

* Lower-cased json keys

* Added cleaning of path separator

* Fixed review comments

* Add catalog endpoint for mongo

* Add omitempty to ID

* Fix catalog tests

* update for next token

* fix e2e

* Make query readable

* Fix language and e2e script

* remove new line
2019-01-02 22:13:56 -08:00
Manu Gupta
81547dd19e reduce sleep time in e2e between http calls (#994)
* reduce sleep time

* Check for version faster

* sleep to 1 sec to reduce hits

* Update scripts
2018-12-18 12:52:57 +01:00
Federico Paolinelli
0258e17d89 Catalogendpoint (#955)
* Added new cataloger interface

* Implementing catalog protocol

* Propagated to protocol and over

* First round of fixes

* S3 almost ready, need to be tested

* Going on with testing s3

* Better testing with s3

* Simplified catalog tests

* Preparing gcp tests to access a gcp instance

* Fixing initialization errors

* Removed some prints

* Gcp ready, to be tested

* Gcp working

* Aligned bucket mock to catalog method

* Switched res payload to json

* Added catalog method to all storage instances

* Added catalog method to unsupported storages

* Fixed with pool test

* Restored tests

* Fixed gcp constructor

* Implemented catalog for fs

* Removed trace

* E2e tests, fixed fs

* Fixed module name return value

* Added cataloger method to azure storage

* Added docs

* Changed pagesize parameter name

* Fixed gofmt error

* Added json tags to result. Fixed lint warning

* Removed extra line

* Changed not implemented error to http.KindNotImplemented

* Checking for inequality on results

* Lower-cased json keys

* Added cleaning of path separator

* Fixed review comments

* Fixed docs
2018-12-12 21:17:26 +01:00
Brent Pendergraft
524912a3b0 Clean up e2e binary (#698)
* clean up test binary after e2e tests

* continue test cleanup if binary removal fails
2018-09-23 00:31:16 -04:00
marpio
d745dfbae4 Fix end 2 end test (#649)
* set GOPATH to the temp dir so that the cache is cleared

* cleanup

* fix unbound var

* add sudo

* remove sudo
2018-09-13 14:04:10 -07:00
Brent Pendergraft
a400d16674 remove buffalo dev in favor of go build in e2e test script (#636)
* remove buffalo dev in favor of go build in e2e test script

* re-write comment for clarity
2018-09-07 08:51:20 +02:00
Rob j Loranger
43d7501420 Update e2e tests to not use sudo (#477)
* Update e2e tests to not use sudo

Using a system temporary directory via mktemp we can place our GOMOD_CACHE
in a place that does not require root permission to clear.

As well we use the environment variable for GO_BINARY_PATH to point to
a module compatible go version. At this time, 1.11beta3.

* add GO_BINARY_PATH to travis

* Use conditional GO_BINARY_PATH

Co-authored-by: robbie <hello@robloranger.ca>
Co-authored-by: carolyn <me@carolynvanslyck.com>

* no longer needs to set GO_BINARY_PATH in env
2018-08-15 19:16:14 +02:00
Michal Pristas
5260639171 remove tempdir (#460) 2018-08-13 15:06:01 +02:00
Rob j Loranger
dd16ce86f1 Fix up e2e script (#410)
* small fixes

* set GO111MODULES=auto

* set GO111MODULES=on after running buffalo

* use travis for go1.11beta3 not build from source

* set GO111MODULES=on before running buffalo

* revert GO111MODULE placement to after buffalo dev, comment w/ issue link

* oops

* spaces too
2018-08-09 16:09:39 -07:00
Marwan Sulaiman
44625459fc Download: move cache location (#404)
* Download: move cache location

* beta3

* trying differnet repo

* avoid go breaking stuff
2018-08-04 11:29:30 -07:00
Carolyn Van Slyck
f1efadeed3 Run E2E tests during CI (#363)
* Use go1.11beta2 instead of vgo

* Make the go 1.11 source directory configurable

Don't error out if it's been cloned already

* Add end-to-end (e2e) tests

* Make sure the repo bin is on the path

* Call the dev target from setup-dev-env

* Use the same dev setup on travis and locally
2018-08-03 16:40:33 +02:00