- Jun 25, 2018
-
-
Stephen Daily authored
Applications using this framework will have to supply their own configuration struct. See lib_integration_test.go for examples Change-Id: Iaae4451c747955cf610b0924692a0b40bd92af7a
-
- Jun 13, 2018
-
-
Leon Sinclair authored
Handle addresses of the form [<vrf-name>/]address:port Edit help messages and Readme to show the option Change-Id: Ic93a6ad36ea885b44b7136c76b4788568fd4bab8
-
- Jun 07, 2018
-
-
Romanos Skiadas authored
I discovered the missing t.Helper() by chance, so I decided to look for other potential places where I could add the t.Helper(). Only one that looked interesting after a quick `rg "^func .*\(t \*testing.T"` was CopyFile, so I think all helpers are covered for now. Change-Id: I4943e6ad3906c2ce49c65e2d54f3a6b990989b14
-
- Jun 06, 2018
-
-
AJ Yoo authored
This will allows pointers to be properly compared to other values in functions like test.Diff. Change-Id: Ie7839bcdb96442c4f25cc397614d3f067a48d7ac
-
AJ Yoo authored
Change-Id: I6fa0d0abe0f99c25d19a23b283b822afea7f56b2
-
AJ Yoo authored
This change ensures that we can recover alternate implementations of Pointer from a key and that we can correctly compare them. Change-Id: Ica334a6ef9ccb613c3fec4d3f626d8ca5f90f145
-
- Jun 04, 2018
-
-
AJ Yoo authored
In order to make this implementation usable as a key, we have to add another hack to the key package. This hack special cases key.Pointer in key.New. For the pointers being used as top level keys, they are converted to a special type 'pointerKey' type that is a composite key. When pointerKey.Key is called, a key.Pointer is constructed and returned. For the pointers being used as values inside composite keys, they are converted to slices and then hashed. Change-Id: I9ca957376ff0b6b20316953c831945e5223fddc0
-
- May 31, 2018
- May 29, 2018
-
-
Giuseppe Valente authored
Change-Id: I485f323ff07c9079c20906b13a3c79e3aee0a641
-
- May 24, 2018
-
-
AJ Yoo authored
Change-Id: Ieb27d02795fadbfe242a82e4c619e37f3a54724f
-
- May 22, 2018
-
-
AJ Yoo authored
Change-Id: Iff6e21c49b7a01bf4195c7a2753cf5a149a1a009
-
Aaron Beitch authored
Drop test comparisons of *regexp.RegExp. This causes us trouble in the go master branch due to changes in the struct. Don't claim to support it. Change-Id: If247d269c5886b62ba39c6e74eb68cc1f28423c3
-
Aaron Beitch authored
*regexp.Regexps are not supposed to be compared and this is breaks in go-master builds. Change-Id: Ia64cdae22ad1b82befd5f878fac1f48c52665d69
-
- May 21, 2018
- May 18, 2018
-
-
Aaron Beitch authored
Change-Id: I782484e5a6d21001d1ddbf4293074a778192bbc6
-
- May 11, 2018
-
-
AJ Yoo authored
Change-Id: I7e179b15608c0f83dc0493ba0cd696e736d7d6f3
-
- Apr 24, 2018
-
-
jcr authored
I've changed the gnmi subscribe output from $ gnmi -addr tallinn:6042 -username secretuser -password secretpasswd subscribe /Sysdb/cli/config /Sysdb/cli/config/commandsPath = "" /Sysdb/cli/config/prompt = "%H......%D{%H:%M:%S}%P" /Sysdb/cli/config/allowCliProcessReuse = true /Sysdb/cli/config/validateOutput = false /Sysdb/cli/config/terminalLengthOverride = -1 /Sysdb/cli/config/terminalWidthOverride = -1 to $ gnmi -addr tallinn:6042 -username secretuser -password secretpasswd subscribe /Sysdb/cli/config [2018-04-20T00:11:47.459560815Z] /Sysdb/cli/config/commandsPath = "" [2018-04-20T00:11:47.459560815Z] /Sysdb/cli/config/prompt = "%H......%D{%H:%M:%S}%P" [2018-04-20T00:11:47.459560815Z] /Sysdb/cli/config/allowCliProcessReuse = true [2018-04-20T00:11:47.459560815Z] /Sysdb/cli/config/validateOutput = false [2018-04-20T00:11:47.459560815Z] /Sysdb/cli/config/terminalLengthOverride = -1 [2018-04-20T00:11:47.459560815Z] /Sysdb/cli/config/terminalWidthOverride = -1 Change-Id: Ibbd1c81805b628d16f9f78f396877e95ca3248ee
-
- Apr 18, 2018
-
-
Fabrice Rabaute authored
Change-Id: I7c7cf3fd6ba3377f7b36a83662bb62a7d493d635
-
- Apr 16, 2018
-
-
AJ Yoo authored
In the vast majority of cases, "/" is interpreted to be the root path (as opposed to "/" + ""), so it the conversion to a Path should be Path{}. Change-Id: I2a4329c0668caf74551cde535eac5f4c3242fc99
-
- Apr 04, 2018
-
-
Vlad Hanciuta authored
Change-Id: I5c9e519276be53f9353ccd381d86b8228040ebdb
-
- Apr 03, 2018
-
-
AJ Yoo authored
Change-Id: I1fa060375d6077f5403dd9eee9d89b36031cf09e
-
- Mar 27, 2018
-
-
Nay Linn authored
Change-Id: I5da0140b0dd02649de055ac10d437edd44483971
-
Aaron Beitch authored
Change-Id: Ie8e55d35ad2b986eebabc23f88009ccedcb5818b
-
Aaron Beitch authored
Decreases cardinality of stored data. Change-Id: Ibb105a9b8b6b1283ab14dac616586483537f5f31
-
Aaron Beitch authored
Reprint test failure output at the end of the test log. Example: Test failures: [1] foo/bar.TestFoobar === RUN TestFoobar --- FAIL: TestFoobar (0.13s) foobar_test.go:82: mapper was not set [2] foo/baz.TestManager === RUN TestManager SIGQUIT: quit <goroutine stack trace> *** Test killed with quit: ran too long (10m0s). FAIL foo/baz 600.029s Change-Id: Ieaa3c24bc43414210da9a2a614f8cca6a4faa00e
-
Aaron Beitch authored
This has a noticeable affect on the runtime. Change-Id: I2434d670f661d3bb791900fd93d29ba64766ece5
-
- Mar 23, 2018
- Mar 21, 2018
-
-
Binu Philip authored
This is the first part of fixing 235111. The new method is for ingest client to use. Change-Id: If2b9a9a4a1e8f7f11de52edb69df65d96a17029c
-
- Mar 16, 2018
-
-
AJ Yoo authored
Change-Id: I1ce35bed52f7c149adf737b4309fbe5bbb16be0d
-
- Mar 13, 2018
-
-
Aaron Beitch authored
An application that reverses test2json, ie. 'go test -json'. Change-Id: Ifd0e599919751065f341907d1ee50a86df9e49b5
-
Aaron Beitch authored
An application for sending go test results into InfluxDB. Change-Id: Ib8a709bdd3892d42a1feaebd5f09d09ee1ac5c1d
-
- Mar 07, 2018
-
-
Aaron Beitch authored
Change-Id: I5a774131f8b73eeb7dbb30c992dbcb0e72bf5c16
-
Aaron Beitch authored
Also updated the join benchmark to join paths with actual elements. With the updated benchmark, comparing the speed of this change vs. previous, the results are in the noise: benchmark old ns/op new ns/op delta BenchmarkJoin/10_Paths-8 189 188 -0.53% BenchmarkJoin/100_Paths-8 1447 1435 -0.83% BenchmarkJoin/1000_Paths-8 14282 13983 -2.09% BenchmarkJoin/10000_Paths-8 199114 199120 +0.00% Change-Id: I5138c0da8a0e717f9e79ea746434704280bb9cd3
-
- Mar 06, 2018
-
-
AJ Yoo authored
For the functions returning a Path, refer to the object being returned as "result" in their function bodies. It is consistent and makes it more clear that this is the object that we are constructing to return. Change-Id: I3baeaab418ee7f7dd520176cf6101b884fac6b51
-
AJ Yoo authored
Benchmark comparison: benchmark old ns/op new ns/op delta BenchmarkJoin/10_Paths-8 24.9 23.1 -7.23% BenchmarkJoin/100_Paths-8 148 141 -4.73% BenchmarkJoin/1000_Paths-8 1121 1065 -5.00% BenchmarkJoin/10000_Paths-8 14071 13642 -3.05% Change-Id: If26df888262f3117579a7552d9b0225c090c7926
-
AJ Yoo authored
Change-Id: I90e37050ad706f8b964d781054d4ba0e63370652
-