Граф коммитов

27 Коммитов

Автор SHA1 Сообщение Дата
Michael Berlin 8b3644c6d3 tools: bootstrap_web.sh: Fix "/usr/bin/env: node: No such file or directory" error.
After node is freshly installed, it is not part of PATH. By sourcing
dev.env, we fix this.

I've also changed the file of the temporary, downloaded file to include ".tar".
2016-12-09 18:23:53 -08:00
thompsonja 330824a264 Copy external dependencies for vtctld, fix webdriver test (#2345)
* Update vtctld web app to use local files for css and plotly js and fix webdriver test.
2016-12-06 16:38:13 -08:00
Alain Jobart 547e38462a Adding right favicon to web app. 2016-12-06 07:11:24 -08:00
thompsonja 30b6d1a737 Angular2 webdriver test updates (#2038)
Angular2 webdriver test updates
2016-09-13 17:17:22 -07:00
thompsonja 4a5a41d4a7 Make Sauce Connect only run on the last shard for non-PRs. (#2042)
Make Sauce Connect only run on the last shard for non-PRs.
2016-09-12 17:52:18 -07:00
Michael Berlin b306b98a2c test: Temporarily disable the webdriver test for the new vtctld2. (#1990)
The test requires many dependencies which prolong the current test duration by up to 10 minutes on Travis.

Once we figured out how to cache the dependencies both on Travis and our local machines, we can re-enable the test.

Instead of commenting the code for installing the dependencies, I've moved it to bootstrap_web.sh for now.
2016-08-24 22:16:06 -07:00
Michael Berlin 0c0e067c35 tools: Add a comment why we test only go/vt/ and not all packages. 2016-08-12 01:29:50 -07:00
Michael Berlin 10d5071d41 tools: Let unit_test_race.sh fail if go test -race found no data race, but failed.
Without this we didn't notice that the race test was always failing on Travis and exited early.
2016-08-12 01:29:50 -07:00
Michael Berlin c4fd56dca3 tools: Split env var VT_GO_PARALLEL into two instead of overwriting it.
Export VT_GO_PARALLEL from the Makefile to subprocesses. Fixes the problem that the variable was not used for 'make unit_test_race'.

VT_GO_PARALLEL is used to explicitly set the degree of concurrent packages tested in Travis. We do this because a value of 4 is faster than the default of 2 (for the two available CPUs).
2016-08-12 01:29:07 -07:00
Michael Berlin 22d46b73db tools: Go race executor: Remove workaround for Go binaries <1.5.
We require at least Go 1.5 and do not need this workaround anymore.
2016-08-04 19:42:08 -07:00
Alain Jobart 1477c2a1b9 Trying to simplify setup. 2016-07-14 13:03:24 -07:00
Anthony Yeh 6c224a8dd9 Don't need to prefix builds with godep anymore.
Thanks to native vendoring support in Go 1.5+.
2016-04-06 14:52:31 -07:00
Anthony Yeh b3a892ae9d proto-gen-php: Update link to PHP proto compiler. 2016-03-30 13:17:46 -07:00
Anthony Yeh a4f2fa8ffc php: Strip date from generated protobuf files.
To make diffs cleaner when regenerating.
2016-03-07 17:33:28 -08:00
Michael Berlin c7459278cb travis/install_grpc: Remove unnecessary commands.
It is no longer necessary to set the different PATHs.

Additionally, I moved the prepand_path function out to tools/shell_functions.inc.
2016-03-01 22:38:23 -08:00
Anthony Yeh 5e471f85da php: Generate protos that work with Autoloading Standard (PSR-4). 2016-01-21 17:58:37 -08:00
Michael Berlin a597e8b8c4 tools/unit_test_race.sh: Simplify if expression. 2015-11-22 19:45:30 -08:00
Michael Berlin 941ce6279e Fix make unit_test_race such that it fails in case of errors.
Before this, the command always succeeded, even if races were found.

I'm grepping over the output of go test -race to check if there is race because there is no other way to distinguish between a found race and a flaky test.
2015-11-22 17:35:22 -08:00
Anthony Yeh 6f5c906761 tools: Create separate pylint script.
This lets you run pylint manually, with the same flags that would be
used by the pre-commit hook.
2015-11-10 11:41:30 -08:00
Anthony Yeh 956f1c7656 php: Regenerate protos. 2015-10-27 13:51:25 -07:00
Anthony Yeh 71d05bc6a8 php/proto: Rename identifiers that are PHP keywords. 2015-10-07 13:17:32 -07:00
Anthony Yeh 65d6dbb082 php: Generate gRPC service stubs from protobuf.
I followed the instructions here:

http://www.grpc.io/docs/installation/php.html

Then used the protoc-gen-php built in that process to generate stubs for
our protos.
2015-09-25 16:31:27 -07:00
Anthony Yeh 58022fd9d4 php: Proof-of-concept protobuf generation.
There is no proto3 compiler for PHP yet, but the wire format of proto3
is backward-compatible with proto2. To avoid maintaining two copies of
our proto files, we use a translator to make the simple syntax changes
necessary to work in PHP's proto2 compiler.

Service stubs are not generated, since I haven't plugged in gRPC yet.
2015-09-25 12:02:13 -07:00
Michael Berlin 168588e279 Detect flaky unit tests based on their suffix _flaky_test.go.
Renamed all flaky unit tests.

Removed previous blacklist file because it's no longer necessary.

Moved custom unit test runner from travis/ to tools/.
2015-08-30 22:28:14 -07:00
Anthony Yeh b7b0d70be8 test.go: check in silly remote stats server. 2015-08-23 22:12:22 -07:00
Michael Berlin 8cbe2a01c7 bootstrap.sh: Restore Go 1.3 compability. 2015-08-06 14:51:46 -07:00
Anthony Yeh c66c0b81ed go1.5: Use new syntax for ldflags -X variables. 2015-07-31 13:40:44 -07:00