NikolasPetriti
a67caa6dc2
Add coverage tests for action.go
2023-08-02 16:50:10 +02:00
NikolasPetriti
bf6592a428
Add coverage tests for account.go
2023-08-02 16:50:10 +02:00
NikolasPetriti
5ee077df3d
Add coverage tests for engine
2023-08-02 16:50:10 +02:00
NikolasPetriti
bcfd9cb1f9
Add coverage tests for engine
2023-08-02 16:50:10 +02:00
NikolasPetriti
94afae087f
Add coverage tests for engine
2023-08-02 16:50:10 +02:00
NikolasPetriti
302cb2aec8
Add coverage tests for eventcost.go
2023-08-02 16:50:10 +02:00
arberkatellari
85f7198424
Make RandomInteger() return int64
2023-07-21 09:02:55 +02:00
NikolasPetriti
36cfcfec26
Add coverage tests for engine
2023-07-21 09:02:30 +02:00
NikolasPetriti
a905707f93
Add coverage tests for engine
2023-07-21 09:02:30 +02:00
NikolasPetriti
84cb2ddd1a
Add coverage tests for libeventcost.go
2023-07-21 09:02:30 +02:00
NikolasPetriti
9bef7cdd1f
Add coverage tests for engine
2023-07-21 09:02:30 +02:00
ionutboangiu
189e6d5f6c
Resolve permission issue in deb_packages playbook
2023-07-21 09:01:46 +02:00
ionutboangiu
2b0be04b5b
Bump go version from 1.20.5 to 1.20.6
2023-07-21 09:01:46 +02:00
ionutboangiu
c987c3e72e
Execute github actions workflows only on PRs for now
...
At the moment, the check-if-duplicate-action needs a bit more tinkering, since
it will skip testing other PRs, if the previous one was successful. Another thing
that might need a revision is to make the duplicate checking job be a bit more subtle
and not be visible where it shouldn't be.
2023-07-21 09:01:46 +02:00
ionutboangiu
4fffeeba21
Revise it test to also work when testing entire package
2023-07-21 09:01:46 +02:00
ionutboangiu
90a60c571b
Consider the CostDetails cost instead for session rounding test
2023-07-21 09:01:46 +02:00
ionutboangiu
1599ed2a5e
Improve accuracy of test to assess return of time.Now()
2023-07-18 16:37:06 +02:00
ionutboangiu
d2fbb0f3d4
Add separate build tag for sessions benchmark
2023-07-18 16:37:06 +02:00
ionutboangiu
392b0c30e0
Fix failing unit tests due to redis dependency
2023-07-18 16:37:06 +02:00
ionutboangiu
8174618f73
Apply gofmt
2023-07-18 16:37:06 +02:00
ionutboangiu
f3428e298d
Fix failing test due to tariffplan changes
2023-07-18 16:37:06 +02:00
ionutboangiu
a63aedfc87
Revise migrator test that has been ignored due to incorrect naming
2023-07-18 16:37:06 +02:00
ionutboangiu
0748894d67
Update changelog for v0.10.3 release
2023-07-18 16:37:06 +02:00
ionutboangiu
d7c6afb82a
Revert "Revise syntax for the struct tag values pointed out by go vet"
...
This reverts commit 9c16f9da5a .
Fixing struct tag values is causing some tests to fail. An issue has
been opened internally which talks in depth about the issue.
2023-07-18 16:37:06 +02:00
ionutboangiu
e0c4a4d4a9
Make sure main job executes even if duplicate check somehow fails
2023-07-18 16:37:06 +02:00
ionutboangiu
49bf8abc53
Fix a couple more go vet errors
2023-07-18 16:37:06 +02:00
ionutboangiu
a9e0b9b67d
Update job names to be more descriptive, ignore go vet errors
2023-07-18 16:37:06 +02:00
ionutboangiu
ae67776d30
Make sure no loop variables are captured by func literals
2023-07-18 16:37:06 +02:00
ionutboangiu
c7d226f8bb
Use a buffered os.Signal channel as argument to signal.Notify
...
signal.Notify documentation states that:
Package signal will not block sending to c: the caller must ensure that c
has sufficient buffer space to keep up with the expected signal rate. For a
channel used for notification of just one signal value, a buffer of size 1
is sufficient.
2023-07-18 16:37:06 +02:00
ionutboangiu
78077ae454
Make sure errors are logged for flatstore reader
2023-07-18 16:37:06 +02:00
ionutboangiu
f2214052b6
Solve struct literal uses unkeyed fields warning
2023-07-18 16:37:06 +02:00
ionutboangiu
c4e820457b
Revise syntax for the struct tag values pointed out by go vet
2023-07-18 16:37:06 +02:00
ionutboangiu
7c1dba3968
Simplify integration_test.sh, skip building and unit tests
2023-07-18 16:37:06 +02:00
ionutboangiu
f315c25554
Update integration_tests workflow to be skipped if duplicate
2023-07-18 16:37:06 +02:00
ionutboangiu
bf4e0d89fa
Add workflow for build and unit tests
2023-07-18 16:37:06 +02:00
ionutboangiu
24b3972fb2
Sort go.mod file
2023-07-18 16:37:06 +02:00
ionutboangiu
2e9653b551
Apply gofmt
2023-07-18 16:37:06 +02:00
ionutboangiu
531c9941fa
Add task to postgres role to manage service state
2023-07-18 16:37:06 +02:00
NikolasPetriti
95b99614d5
Add coverage tests for balance_filter.go and storage_interface.go
2023-07-14 17:09:31 +02:00
NikolasPetriti
62a8601131
Add coverage tests for balances.go and calldesc.go
2023-07-14 11:27:32 +02:00
NikolasPetriti
df9947730c
Add coverage tests for balances.go, resources.go and storage_utils.go
2023-07-13 10:23:31 +02:00
NikolasPetriti
710a8d78be
Add coverage tests for filters.go
2023-07-13 10:23:31 +02:00
ionutboangiu
628df25caa
Set TimeNotBuiltin msgpack option directly without using BasicHandle
...
Prevents a situation where when attempting to decode a string into a nil
interface, the decoded value would be the encoded slice of bytes instead
of the string we need.
2023-07-12 17:06:16 +02:00
ionutboangiu
df3ae97e57
Comment post install postgres scripts in cgrates ansible role
2023-07-12 17:06:16 +02:00
ionutboangiu
79215c824c
Add test for costdetails failed searchreplace scenario
2023-07-12 17:06:16 +02:00
ionutboangiu
7faab6e0ff
Implement postgresql ansible role
2023-07-12 17:06:16 +02:00
ionutboangiu
b6df49fbb6
Bump go version in ansible role
2023-07-12 17:06:16 +02:00
ionutboangiu
765695761a
Add github action workflow for integration tests
2023-07-12 17:06:16 +02:00
ionutboangiu
43dd9e0bdd
Update kafka download link and bump version
2023-07-12 17:06:16 +02:00
NikolasPetriti
94abb7d7d0
Add coverage tests for utils
2023-07-10 17:12:31 +02:00