Manuel Sabban
51824d3bb8
add arg to hub func test ( #1103 )
...
* add arg to hub func test
* switch to go 1.17
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-12-16 11:06:31 +01:00
mmetc
ca67be8fca
fatal if cannot add bouncer: fix for #1066 ( #1067 )
2021-12-13 10:30:55 +01:00
mmetc
96df5d6410
Shell fixes ( #1056 )
...
* broken test
* don't expand filenames into options
* fix for ./test_env.sh -h => ./test_env.sh: line 15: usage: command not found
2021-11-30 10:08:59 +01:00
AlteredCoder
37eedce72e
add functionnal test for hubtest ( #996 )
...
* add hubtest in functionnal test
2021-10-05 09:52:55 +02:00
Thibault "bui" Koechlin
c2fd173d1e
fix node success logic ( #993 )
...
* fix node success logic : only fail node on child failure if mother node has no successfull grok
2021-09-28 17:58:07 +02:00
Manuel Sabban
6b5f272c0a
Func tests ( #970 )
...
* stabilize func tests
* fix cold logs func tests
* add wait condition on mock server
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-13 17:33:47 +02:00
Manuel Sabban
e929ba16de
add sleep ( #969 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-10 17:42:46 +02:00
Manuel Sabban
e67fad06d3
fix error ( #960 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-10 11:06:25 +02:00
Manuel Sabban
e6afafa4d8
fix ( #958 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-10 09:32:01 +02:00
Thibault "bui" Koechlin
21dfc784b1
remove config.patch on master ( #957 )
...
* remove config.patch on master
* fix functional tests for plugins : replace group by nobody's actual group
* fix mock http server
2021-09-09 19:12:44 +02:00
Manuel Sabban
9b5cb6abc9
fucntional tests fix ( #952 )
...
* add patch for the user used for starting plugins
* fix postinst
* fix fucn tests to make it work with ansible
* group_wait to 5s
* small fixes
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-09 16:24:59 +02:00
Shivam Sandbhor
e89543f725
Add functional tests for plugins ( #941 )
...
* Add functional tests for plugins
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
(cherry picked from commit 1a11c87296454aac1ebbc95c06b813ae67c91819)
* Update plugin dir in functional tests
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
* Update plugin process config in func tests
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
* Robust config replacement
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-09-08 15:22:34 +02:00
ThinkChaos
448a227079
Minor changes to specific logs ( #900 )
...
- Minor changes to specific logs
- Fix LAPI to not push signals to CAPI when disabled #907
2021-08-25 18:30:05 +02:00
Thibault "bui" Koechlin
c188d401a3
Improve CAPI pull management ( #871 )
...
* prepare for new consensus : thousands of ips
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
2021-08-25 11:45:29 +02:00
Manuel Sabban
535f0353df
should fix the unit tests ( #858 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-07-23 13:44:30 +02:00
Manuel Sabban
bb37e2e70d
fix functional tests ( #838 )
...
* fix functional tests
* add journal detection feature in wizard.sh
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-07-01 10:36:27 +02:00
Thibault "bui" Koechlin
ce6a61df1c
Refactor Acquisition Interface ( #773 )
...
* Add new acquisition interface + new modules (cloudwatch, syslog)
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
2021-06-11 09:53:53 +02:00
he2ss
eb0bd70046
fix #787 : load simulation config at startup ( #793 )
...
* fix #787 : load simulation config at startup
2021-05-17 11:54:28 +02:00
bui
b007b8e932
fix paths for tests (packages and tarball don't deploy in the same path)
2021-03-26 10:18:13 +01:00
AlteredCoder
1e899c2211
Refactor configuration management ( #698 )
2021-03-24 18:16:17 +01:00
Thibault "bui" Koechlin
190fa112dd
Debian package auto-testing ( #701 )
...
* add dispatch to debian CI
* test dispatch
* keep only master
* push+mr
* document the functional tests
2021-03-19 16:28:55 +01:00
Thibault "bui" Koechlin
f1b0414c89
Unified functional tests ( #696 )
...
* remove dead / not needed code & scripts
* don't rely on /dev/urandom in wizard
* unified functional tests
2021-03-18 13:59:41 +01:00