moby--moby/integration/container
Sebastiaan van Stijn ffa1728d4b
Normalize values for pids-limit
- Don't set `PidsLimit` when creating a container and
  no limit was set (or the limit was set to "unlimited")
- Don't set `PidsLimit` if the host does not have pids-limit
  support (previously "unlimited" was set).
- Do not generate a warning if the host does not have pids-limit
  support, but pids-limit was set to unlimited (having no
  limit set, or the limit set to "unlimited" is equivalent,
  so no warning is nescessary in that case).
- When updating a container, convert `0`, and `-1` to
  "unlimited" (`0`).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-03-13 00:27:05 +01:00
..
checkpoint_test.go integration/container: add a base test for C/R 2019-02-28 23:04:16 -08:00
container_test.go API: properly handle invalid JSON to return a 400 status 2018-11-06 21:30:44 +01:00
copy_test.go Windows: Start of enabling tests under integration/ 2018-09-26 12:28:22 -07:00
create_test.go Capabilities refactor 2019-01-22 21:50:41 +02:00
daemon_linux_test.go TestDaemonRestartIpcMode: modernize 2019-03-08 10:04:43 -08:00
diff_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
exec_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
export_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
health_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
inspect_test.go Windows: Start of enabling tests under integration/ 2018-09-26 12:28:22 -07:00
ipcmode_linux_test.go Simplify skip checks 2019-01-07 13:56:57 +01:00
kill_test.go integration: add/use WithRestartPolicy 2019-03-08 10:03:55 -08:00
links_linux_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
logs_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
main_test.go Add an integration/internal/container helper package 2018-02-10 17:29:38 +01:00
mounts_linux_test.go Simplify skip checks 2019-01-07 13:56:57 +01:00
nat_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
pause_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
ps_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
remove_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
rename_test.go Improve consistency in "skip" 2019-01-07 13:56:46 +01:00
resize_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
restart_test.go Test: Replace NewClient() with NewClientT() 2018-12-22 15:53:02 +01:00
run_linux_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
stats_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
stop_linux_test.go Fix some minor wording / issues 2019-01-07 13:57:01 +01:00
stop_test.go integration: add/use WithRestartPolicy 2019-03-08 10:03:55 -08:00
stop_windows_test.go Integration: use testenv.APIClient() 2019-01-03 11:53:41 +01:00
update_linux_test.go Normalize values for pids-limit 2019-03-13 00:27:05 +01:00
update_test.go TestUpdateRestartWithAutoRemove: use WithAutoRemove 2019-03-08 09:59:22 -08:00
wait_test.go migrated container wait integration tests from integration-cli to integration/container package 2018-07-23 17:37:21 -04:00