Commit Graph

19 Commits

Author SHA1 Message Date
Adam Nadrowski
a56df16830 fix: use local go-unifi with omitempty fix for zone policy bug
Switch go-unifi dependency from remote fork to local module which includes
the fix for empty string fields (firewall_zone_id, etc.) being sent in
network API requests, causing all zone policies to disappear from the UI.

Also updates Makefile with cross-compile and deploy targets, and README
with self-contained build/install instructions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 23:00:11 -05:00
Mateusz Filipowicz
b269563553 ci: remove constraint on acceptance tests parallelism (#59) 2025-03-16 15:55:10 +01:00
Mateusz Filipowicz
273d0daddd feat: add automatic speedtest setting resource support with unifi_setting_auto_speedtest resource (#32)
* feat: add automatic speedtest setting resource support with `unifi_setting_auto_speedtest` resource

* restore lowered test paralellism

* refactoring and fixes

* fix speedtest after refactor

* run speedtest test on versions [7.2,7.4.156), cause later it was removed from USG which is used in tests
2025-03-01 15:38:17 +01:00
Mateusz Filipowicz
ccac6edebe ci: fix text file busy error causing test flakiness (#30)
* ci: try to fix text file busy error

* set up terraform explicitly before running tests

* remove limitation on parallel tests run
2025-02-26 20:22:33 +01:00
Mateusz Filipowicz
e7164c0460 feat: add DNS record resource and datasources (#25)
* add DNS record

* revamp tests

* lint

* cleanup

* feat dns test

* chore: add DNS Record tests

* linting

* f
2025-02-26 01:17:59 +01:00
Mateusz Filipowicz
4c3d5830ad feat: remove unused firewall properties from settings usg 2025-02-07 01:09:36 +01:00
Mateusz Filipowicz
708d73eb6b feat: add enabled flag 2025-02-07 01:09:36 +01:00
Mateusz Filipowicz
6e6991d227 chore: set test parallelism to 2 from 4 due to too high parallelism causing "text file busy" issue 2025-01-21 11:50:04 +01:00
Joshua Spence
595e4d1873 Mask acceptance test flakiness with retries (#387) 2023-06-30 11:37:37 +10:00
Joshua Spence
b27b54a755 Use testcontainers-go (#330)
* Use `testcontainers-go`

* Wait for ready

* Sleep

* Remove `time.Sleep`

* Wait until devices appear

* Pass environment

* Add `golangci-lint` to tools

* Minor
2023-03-03 15:19:19 +11:00
Joshua Spence
263a2c71d2 Remove UNIFI_ACC_WLAN_CONCURRENCY (#323)
* Remove `UNIFI_ACC_WLAN_CONCURRENCY`

* Update resource_wlan_test.go

* Update resource_wlan_test.go
2023-03-01 10:44:11 +11:00
Joshua Spence
d02faeb871 Use default demo credentials (#320) 2023-03-01 00:22:09 +11:00
Joshua Spence
81c357b3a5 Improve test stability (#310)
* Improve stability of network/wlan tests

* Improve stability of user tests

* Don't test with different Terraform versions
2023-02-24 18:04:56 +11:00
Joshua Spence
cecb61809d Update versions (#309) 2023-02-23 15:10:37 +11:00
Joshua Spence
a1849cacdc Put controller into demo mode (#185) 2021-09-15 23:14:09 +10:00
Joshua Spence
a2ce5a12fb Use docker-compose instead of a shell script (#155) 2021-09-15 09:51:58 +10:00
Tommi2Day
0c3a36b215 add data source unifi_user
implements #174
2021-09-07 18:25:42 -04:00
Jo Vanvoorden
020b6c6a93 Update Makefile
Co-Authored-By: Paul Tyng <paul@paultyng.net>
2020-03-07 20:50:59 +01:00
ziporah
6a943411e6 Make test options and cleanup afterwards 2020-03-06 08:14:21 +01:00